mirror of
https://github.com/aria2/aria2.git
synced 2025-02-26 08:22:11 +00:00
Improve write cache failures error reporting
This commit is contained in:
parent
fd3348cc88
commit
bb50de1336
@ -78,7 +78,7 @@ void WrDiskCacheEntry::writeToDisk()
|
||||
try {
|
||||
diskAdaptor_->writeCache(this);
|
||||
} 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;
|
||||
errorCode_ = e.getErrorCode();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user