mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 19:46:25 +00:00
Merge pull request #138 from inventree/stacktrace-data
Attempt to capture stacktrace data when uploading a custom message to…
This commit is contained in:
commit
6f885d3a5c
1 changed files with 3 additions and 0 deletions
|
|
@ -129,6 +129,9 @@ Future<bool> sentryReportMessage(String message, {Map<String, String>? context})
|
||||||
if (context != null) {
|
if (context != null) {
|
||||||
scope.setExtra("context", context);
|
scope.setExtra("context", context);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Catch stacktrace data if possible
|
||||||
|
scope.setExtra("stacktrace", StackTrace.current.toString());
|
||||||
});
|
});
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue