diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/dispatchwatcher.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/desktop/source/app/dispatchwatcher.cxx b/desktop/source/app/dispatchwatcher.cxx index f26d17c6bcbf..5b6e911fc6d8 100644 --- a/desktop/source/app/dispatchwatcher.cxx +++ b/desktop/source/app/dispatchwatcher.cxx @@ -562,9 +562,12 @@ bool DispatchWatcher::executeDispatchRequests( const DispatchList& aDispatchRequ { xStorable->storeToURL( aOutFile, conversionProperties ); } - catch (const Exception&) + catch (const Exception& rException) { - fprintf( stderr, "Error: Please reverify input parameters...\n" ); + std::cerr << "Error: Please reverify input parameters..."; + if (!rException.Message.isEmpty()) + std::cerr << " (" << rException.Message << ")"; + std::cerr << std::endl; } if( aDispatchRequest.aRequestType == REQUEST_CAT ) |