diff options
Diffstat (limited to 'desktop/source/deployment/registry/dp_backend.cxx')
-rw-r--r-- | desktop/source/deployment/registry/dp_backend.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/desktop/source/deployment/registry/dp_backend.cxx b/desktop/source/deployment/registry/dp_backend.cxx index 7f4df142dfd1..6e972744846d 100644 --- a/desktop/source/deployment/registry/dp_backend.cxx +++ b/desktop/source/deployment/registry/dp_backend.cxx @@ -657,13 +657,15 @@ void Package::processPackage_impl( catch (const deployment::DeploymentException &) { throw; } - catch (const Exception &) { + catch (const Exception & e) { Any exc( ::cppu::getCaughtException() ); throw deployment::DeploymentException( (doRegisterPackage ? DpResId(RID_STR_ERROR_WHILE_REGISTERING) : DpResId(RID_STR_ERROR_WHILE_REVOKING)) - + getDisplayName(), static_cast<OWeakObject *>(this), exc ); + + getDisplayName() + ": " + exc.getValueType().getTypeName() + " \"" + e.Message + + "\"", + static_cast<OWeakObject *>(this), exc ); } } catch (...) { |