From 90cab308f52468edbf87a7f06a1ef99f146f03a5 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Thu, 9 Jan 2020 16:57:16 +0100 Subject: [PATCH] unopkg: Remove too verbose logging This adds several lines of 'Extension x not found' when installing an extension with 'unopkg add'. Since it's expected that the extension is not yet there when installing it, remove this logging. Change-Id: Ifc2ea5fa04253a96fee60016a65505e0d1f2722c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86516 Reviewed-by: Samuel Mehrbrodt Tested-by: Samuel Mehrbrodt --- desktop/source/deployment/manager/dp_manager.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/desktop/source/deployment/manager/dp_manager.cxx b/desktop/source/deployment/manager/dp_manager.cxx index 78ad04945c5a..b592a77c152b 100644 --- a/desktop/source/deployment/manager/dp_manager.cxx +++ b/desktop/source/deployment/manager/dp_manager.cxx @@ -1066,8 +1066,7 @@ Reference PackageManagerImpl::getDeployedPackage( const ::osl::MutexGuard guard( getMutex() ); return getDeployedPackage_( id, fileName, xCmdEnv ); } - catch (const lang::IllegalArgumentException & exc) { - logIntern( Any(exc) ); + catch (const lang::IllegalArgumentException &) { throw; } catch (const RuntimeException &) {