mirror of https://github.com/aria2/aria2
Improve write cache failures error reporting
parent
fd3348cc88
commit
bb50de1336
|
@ -78,7 +78,7 @@ void WrDiskCacheEntry::writeToDisk()
|
||||||
try {
|
try {
|
||||||
diskAdaptor_->writeCache(this);
|
diskAdaptor_->writeCache(this);
|
||||||
} catch(RecoverableException& e) {
|
} catch(RecoverableException& e) {
|
||||||
A2_LOG_ERROR("WrDiskCacheEntry flush error");
|
A2_LOG_ERROR_EX("Error when trying to flush write cache", e);
|
||||||
error_ = CACHE_ERR_ERROR;
|
error_ = CACHE_ERR_ERROR;
|
||||||
errorCode_ = e.getErrorCode();
|
errorCode_ = e.getErrorCode();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue