sentry v6.3.0 Sentry.Context

Provides a method to store user, tags, and extra context when an event is reported. The contexts will be fetched and merged into the event.

Sentry.Context uses the Process Dictionary to store this state. This imposes some limitations. The state will only exist within the current process, and the context will die with the process.

For example, if you add context inside your controller and an error happens in a Task the context won’t send.

Link to this section Summary

Link to this section Functions

Link to this function add_breadcrumb(list)
Link to this function set_extra_context(map)
Link to this function set_http_context(map)
Link to this function set_tags_context(map)
Link to this function set_user_context(map)