Improved an OSL_FAIL.
This commit is contained in:
parent
a18bfb0830
commit
0c13fbb5bd
1 changed files with 7 additions and 2 deletions
|
@ -677,8 +677,13 @@ void Package::processPackage_impl(
|
|||
xCmdEnv );
|
||||
}
|
||||
}
|
||||
catch (RuntimeException &) {
|
||||
OSL_FAIL( "### unexpected RuntimeException!" );
|
||||
catch (RuntimeException &e) {
|
||||
(void) e; // avoid warnings
|
||||
OSL_FAIL(
|
||||
OSL_FORMAT(
|
||||
"unexpected RuntimeException \"%s\"",
|
||||
(rtl::OUStringToOString(e.Message, RTL_TEXTENCODING_UTF8).
|
||||
getStr())));
|
||||
throw;
|
||||
}
|
||||
catch (CommandFailedException &) {
|
||||
|
|
Loading…
Reference in a new issue