소스 검색

Skip logging handled errors to sentry

Neeraj Gupta 3 년 전
부모
커밋
a6f7974278
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      lib/utils/file_uploader.dart

+ 2 - 0
lib/utils/file_uploader.dart

@@ -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);
       }