2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 02:05:29 +00:00

Add extra error reporting information in sentry errors

This commit is contained in:
Oliver
2021-08-09 08:22:36 +10:00
parent 607d4b61ef
commit 8f02092731
3 changed files with 42 additions and 19 deletions

View File

@ -114,6 +114,8 @@ class BarcodeHandler {
"url": url,
"statusCode": response.statusCode.toString(),
"valid": response.isValid().toString(),
"error": response.error,
"errorDetail": response.errorDetail,
}
);
} else if (response.data.containsKey('error')) {