- BUGFIX: Provide more helpful explanation when an I/O error occured

This commit is contained in:
Christophe Dumez 2009-04-17 20:04:09 +00:00
parent bf9dc052d3
commit 65c4da6f0e
5 changed files with 7 additions and 6 deletions

View file

@ -1182,7 +1182,7 @@ void bittorrent::readAlerts() {
h.auto_managed(false);
std::cerr << "File Error: " << p->message().c_str() << std::endl;
if(h.is_valid())
emit fullDiskError(h);
emit fullDiskError(h, misc::toQString(p->message()));
}
else if (dynamic_cast<listen_failed_alert*>(a.get())) {
// Level: fatal