diff --git a/src/cassette/TsxImage.cc b/src/cassette/TsxImage.cc index 858e19d1aa..30989d0651 100644 --- a/src/cassette/TsxImage.cc +++ b/src/cassette/TsxImage.cc @@ -551,11 +551,11 @@ void TsxImage::convert(const Filename& filename, FilePool& filePool, CliComm& cl } } if (!headerFound) { - throw MSXException(filename.getOriginal() + + throw MSXException(filename.getOriginal(), ": not a valid TSX image"); } if (issueWarning) { - cliComm.printWarning("Skipped unhandled data in " + + cliComm.printWarning("Skipped unhandled data in ", filename.getOriginal()); }