2012-02-18, 12:56
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
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:
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
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(key, value)
buggalo.addExtraData(key2, value2)
try:
# do stuff
buggalo.addExtraData(key3, value3)
# do other stuff
except Exception:
buggalo.onExceptionRaised()