pass stack debugging info to onError function
Merge pull request #99 from fivetanley/pass-stack-to-onerror

pass stack debugging info to onError function