Thread Tools Display Modes
Prev Previous Post   Next Post Next
08-03-18, 10:22 AM   #1
MuffinManKen
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 106
Is there any way to add data to error reports?

At a bare minimum I'd like to get the version of the addon displayed in the error reports that users send. If I understand things correctly, there are 2 basic options:
  1. Override the errorhandler. I could do this but then I'd be fighting with standalone error handler addons like BugSack, so I'm not sure that's a good idea.
  2. Use pcall, add to the error string and then call the system errorhandler. Having to wrap everything in a pcall would be a pain and I don't know what the cost of that would be at runtime (is pcall expensive?).

Have others done something like this?
  Reply With Quote
 

WoWInterface » Developer Discussions » General Authoring Discussion » Is there any way to add data to error reports?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off