From 3a0c94a57eb6aa891fc7699679a07577bf75f6b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaakko=20Ker=C3=A4nen?= Date: Mon, 10 Mar 2014 09:02:08 +0200 Subject: [PATCH] libdeng2|FS: Print contents of InputError exception --- doomsday/libdeng2/src/filesys/filesystem.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doomsday/libdeng2/src/filesys/filesystem.cpp b/doomsday/libdeng2/src/filesys/filesystem.cpp index 06991f8bee..371803f55b 100644 --- a/doomsday/libdeng2/src/filesys/filesystem.cpp +++ b/doomsday/libdeng2/src/filesys/filesystem.cpp @@ -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(); } } }