Added file source to 'stream has unknown format' message.

This commit is contained in:
Matthias Koefferlein 2018-02-09 22:56:03 +01:00
parent 0950d4d27d
commit d6adadcad4
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ Reader::Reader (tl::InputStream &stream)
}
if (! mp_actual_reader) {
throw db::ReaderException (tl::to_string (QObject::tr ("Stream has unknown format")));
throw db::ReaderException (tl::to_string (QObject::tr ("Stream has unknown format: ")) + stream.source ());
}
}