Skip logging handled errors to sentry

This commit is contained in:
Neeraj Gupta 2022-06-23 08:42:43 +05:30
parent 0bebde580d
commit a6f7974278
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1

View file

@ -467,6 +467,8 @@ class FileUploader {
} catch (e, s) {
if (!(e is NoActiveSubscriptionError ||
e is StorageLimitExceededError ||
e is WiFiUnavailableError ||
e is NoActiveSubscriptionError ||
e is FileTooLargeForPlanError)) {
_logger.severe("File upload failed for " + file.toString(), e, s);
}