Skip to content

Commit

Permalink
libdeng2|FS: Print contents of InputError exception
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Mar 10, 2014
1 parent 744d7c9 commit 3a0c94a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doomsday/libdeng2/src/filesys/filesystem.cpp
Expand Up @@ -146,9 +146,10 @@ File *FileSystem::interpret(File *sourceData)
{
LOG_RES_WARNING("Archive in %s is truncated") << sourceData->description();
}
catch(IIStream::InputError const &)
catch(IIStream::InputError const &er)
{
LOG_RES_WARNING("%s cannot be read") << sourceData->description();
LOG_RES_WARNING("%s cannot be read: %s") << sourceData->description()
<< er.asText();
}
}
}
Expand Down

0 comments on commit 3a0c94a

Please sign in to comment.