summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/source/pkgchk/unopkg/unopkg_app.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/source/pkgchk/unopkg/unopkg_app.cxx b/desktop/source/pkgchk/unopkg/unopkg_app.cxx
index 22d6f66d0255..edbc84eff605 100644
--- a/desktop/source/pkgchk/unopkg/unopkg_app.cxx
+++ b/desktop/source/pkgchk/unopkg/unopkg_app.cxx
@@ -609,7 +609,8 @@ extern "C" int unopkg_main()
}
catch (const LockFileException & e)
{
- logger->log(LogLevel::SEVERE, "Exception occurred: $1$", e.Message);
+ // No logger since it requires UNO which we don't have here
+ dp_misc::writeConsoleError(e.Message + "\n");
bNoOtherErrorMsg = true;
}
catch (const css::uno::Exception & e ) {