Improved some exception diagnostics.
This commit is contained in:
parent
04722ce9f6
commit
d81445a3bb
2 changed files with 2 additions and 2 deletions
|
@ -416,7 +416,7 @@ void APTLoader::throwExceptionIfStreamError(const sg_gzifstream& input_stream,
|
|||
|
||||
SG_LOG( SG_NAVAID, SG_ALERT,
|
||||
"Error while reading '" << path.utf8Str() << "': " << errMsg );
|
||||
throw sg_io_exception("Error reading file (" + errMsg + ")",
|
||||
throw sg_io_exception("APTLoader: error reading file (" + errMsg + ")",
|
||||
sg_location(path));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -166,7 +166,7 @@ void FixesLoader::throwExceptionIfStreamError(
|
|||
|
||||
SG_LOG(SG_NAVAID, SG_ALERT,
|
||||
"Error while reading '" << path.utf8Str() << "': " << errMsg);
|
||||
throw sg_io_exception("Error reading file (" + errMsg + ")",
|
||||
throw sg_io_exception("FixesLoader: error reading file (" + errMsg + ")",
|
||||
sg_location(path));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue