2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-27 21:16:48 +00:00

Merge pull request #138 from inventree/stacktrace-data

Attempt to capture stacktrace data when uploading a custom message to…

(cherry picked from commit 6f885d3a5ccca56cc1fca574031505b920d1b5cf)
This commit is contained in:
Oliver 2022-05-22 10:40:01 +10:00 committed by Oliver Walters
parent bbe56aba55
commit 7d24e1818f

View File

@ -129,6 +129,9 @@ Future<bool> sentryReportMessage(String message, {Map<String, String>? context})
if (context != null) {
scope.setExtra("context", context);
}
// Catch stacktrace data if possible
scope.setExtra("stacktrace", StackTrace.current.toString());
});
try {