You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is useful to have diagnostic data provided directly from an exception that would otherwise require a user to manually dig into related configurations or other data sources.
Examples of this:
The details for a database which returned an error.
The UTC timecode of the error.
Client system profile (CPUs, memory, ..)
Other details like java details, like heap utilization, etc. should generally be left out of such info, since this is properly metrics data which is provided in other places.
Because error handling mechanisms and semantics must remain robust, any mechanism which adds context to an exception must not throw any errors itself.
A new decorator type NBErrorContext should be added which indicates it can add error details in the form of a Map<String,String>. When an exception is thrown, the main error handling logic should walk the stack to find any such instances, and if present, the exception should be appended with ;; additional context: and the details of the error.
The text was updated successfully, but these errors were encountered:
Elements which have important context for interior stack frames should be decorated with this. This includes activities, or spaces which are invoked during the execution of an operation.
It is useful to have diagnostic data provided directly from an exception that would otherwise require a user to manually dig into related configurations or other data sources.
Examples of this:
Other details like java details, like heap utilization, etc. should generally be left out of such info, since this is properly metrics data which is provided in other places.
Because error handling mechanisms and semantics must remain robust, any mechanism which adds context to an exception must not throw any errors itself.
A new decorator type NBErrorContext should be added which indicates it can add error details in the form of a
Map<String,String>
. When an exception is thrown, the main error handling logic should walk the stack to find any such instances, and if present, the exception should be appended with;; additional context:
and the details of the error.The text was updated successfully, but these errors were encountered: