From 21bc48ea4e2354c3b6832a00e58fae9662a4bdfc Mon Sep 17 00:00:00 2001 From: Martin Cech Date: Mon, 22 Sep 2014 15:17:51 -0400 Subject: [PATCH] putting back the removed exception messages --- lib/galaxy/webapps/galaxy/api/lda_datasets.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/galaxy/webapps/galaxy/api/lda_datasets.py b/lib/galaxy/webapps/galaxy/api/lda_datasets.py index 964b78a4251..e5fe9bbd774 100644 --- a/lib/galaxy/webapps/galaxy/api/lda_datasets.py +++ b/lib/galaxy/webapps/galaxy/api/lda_datasets.py @@ -194,11 +194,11 @@ class LibraryDatasetsController( BaseAPIController, UsesVisualizationMixin ): library_dataset = self.get_library_dataset( trans, id=dataset_id, check_ownership=False, check_accessible=True ) library_datasets.append( library_dataset ) except HTTPBadRequest, e: - raise exceptions.RequestParameterInvalidException( 'Bad Request.' ) + raise exceptions.RequestParameterInvalidException( 'Bad Request. ' + str( e ) ) except HTTPInternalServerError, e: - raise exceptions.InternalServerError( 'Internal error.' ) + raise exceptions.InternalServerError( 'Internal error. ' + str( e ) ) except Exception, e: - raise exceptions.InternalServerError( 'Unknown error.' ) + raise exceptions.InternalServerError( 'Unknown error. ' + str( e ) ) else: raise exceptions.RequestParameterMissingException( 'Request has to contain a list of dataset ids to download.' )