Firebase Storage 异常和 Crashlytics 异常不匹配?
2022-09-04 04:22:17
我正在使用Firebase在Android上下载文件。这是我的代码:
try {
//.. Try to download file from Firebase
} catch(StorageException e) {
if(e.getErrorCode() == StorageException.ERROR_RETRY_LIMIT_EXCEEDED) {
//Ignore! Exception has occurred due to no Internet availability
} else {
//Other genuine failure, log it
Crashlytics.logException(e);
}
}
现在,此代码不会发送“已超出操作重试限制”异常。但是,在Crashlytics中,我仍然能够看到报告此异常。
Non-fatal Exception: com.google.firebase.storage.StorageException
The operation retry limit has been exceeded.
Caused by javax.net.ssl.SSLException
Read error: ssl=0x7188e1fe08: I/O error during system call, Software caused connection abort
这怎么可能?我错过了什么吗?
火库版本:16.0.1