Multiple details.error?

Artem

Posted on
Jan 11 2015

REST API docs say that

"There must be at least one details.error, and its stacktrace must have its linenumber set. The other fields can be empty".

Does that mean there can be multiple details.error fields? We need this because Python 3 has exception chaining and Raygun4py doesn't seem to support it.


Callum

Posted on
Jan 12 2015

At this stage the backend uses only one details.error field; to support this case we will update the Raygun4PY3 provider to automatically transmit chained exceptions. The other providers support this with an innerError field on the error, which are recursively walked to construct the code path, and the update will most likely bring the same approach to the py3 provider. I will let you know when a new version is released which contains this feature.


Reply