Improve write cache failures error reporting

pull/230/merge
Nils Maier 2014-05-17 04:49:22 +02:00
parent fd3348cc88
commit bb50de1336
1 changed files with 1 additions and 1 deletions

View File

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