[RELEASE] buggalo - automatic exception collector
#3
Hey, I have just sent in the pull request for version 1.0.0 of the module and slightly updated the README:
https://github.com/twinther/script.module.buggalo

I have now received about 450 error reports and I must say this is helping me a lot. So I hope other devs will take a look and provide feedback and suggestions Big Grin

Bstrdsmkr Wrote:Hey man, this looks pretty awesome!

Can you pass in custom variables to be logged too? For example, sometimes I get weird strings back from a website that cause trouble. Having the failure submit those problem strings would be top notch. If it's not, would you consider it a feature request?

It's not possible at the moment. I does submit the sys.argv values though, but I guess that is not enough.

Do you have a suggestion on how best to add this feature?
I'm thinking perhaps add a method to add extra data to buggalo.
If an exception is then raised, the extra data is included, otherwise it is simply discarded.
Something like:

PHP Code:
buggalo.SUBMIT_URL 'blababla'
buggalo.addExtraData(keyvalue)
buggalo.addExtraData(key2value2)

try:
    
# do stuff
    
buggalo.addExtraData(key3value3)
    
# do other stuff
except Exception:
    
buggalo.onExceptionRaised() 
Reply


Messages In This Thread
passing in variables? - by Bstrdsmkr - 2012-02-18, 03:30
[No subject] - by twinther - 2012-02-18, 12:56
[No subject] - by Martijn - 2012-02-18, 13:20
[No subject] - by Bstrdsmkr - 2012-02-19, 06:10
[No subject] - by Martijn - 2012-02-20, 19:09
[No subject] - by bossanova808 - 2012-02-21, 07:09
[No subject] - by twinther - 2012-02-21, 18:09
[No subject] - by twinther - 2012-02-21, 20:55
[No subject] - by twinther - 2012-02-26, 10:14
Logout Mark Read Team Forum Stats Members Help
[RELEASE] buggalo - automatic exception collector3