mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-12 10:15:32 +00:00
UserProfile
This commit is contained in:
@ -227,10 +227,8 @@ class InvenTreeAPI {
|
||||
errorMessage = "Server timeout";
|
||||
return null;
|
||||
} else {
|
||||
// Unknown error type
|
||||
errorMessage = error.toString();
|
||||
// Unknown error type, re-throw error
|
||||
return null;
|
||||
// Unknown error type - re-throw the error and Sentry will catch it
|
||||
throw error;
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user