diff --git a/lib/galaxy/webapps/galaxy/api/lda_datasets.py b/lib/galaxy/webapps/galaxy/api/lda_datasets.py index 1fec6eb67af..77b3d73350b 100644 --- a/lib/galaxy/webapps/galaxy/api/lda_datasets.py +++ b/lib/galaxy/webapps/galaxy/api/lda_datasets.py @@ -607,7 +607,7 @@ class LibraryDatasetsController( BaseAPIController, UsesVisualizationMixin ): log.exception( "Unable to create archive for download" ) raise exceptions.InternalServerError( "Unable to create archive for download." ) except Exception: - log.exception( "Unexpected error %s in create archive for download", sys.exc_info()[ 0 ] ) + log.exception( "Unexpected error %s in create archive for download" ) raise exceptions.InternalServerError( "Unable to create archive for download." ) composite_extensions = trans.app.datatypes_registry.get_composite_extensions() seen = [] diff --git a/lib/galaxy/webapps/galaxy/controllers/library_common.py b/lib/galaxy/webapps/galaxy/controllers/library_common.py index 32c97ef2657..7522c486bd0 100644 --- a/lib/galaxy/webapps/galaxy/controllers/library_common.py +++ b/lib/galaxy/webapps/galaxy/controllers/library_common.py @@ -1863,7 +1863,7 @@ class LibraryCommon( BaseUIController, UsesFormDefinitionsMixin, UsesExtendedMet status = 'error' except: error = True - log.exception( "Unexpected error %s in create archive for download", sys.exc_info()[0] ) + log.exception( "Unexpected error %s in create archive for download" ) message = "Unable to create archive for download, please report - %s" % sys.exc_info()[0] status = 'error' if not error: diff --git a/lib/tool_shed/galaxy_install/tools/tool_panel_manager.py b/lib/tool_shed/galaxy_install/tools/tool_panel_manager.py index 7ee910e96da..c0e05ecd2d5 100644 --- a/lib/tool_shed/galaxy_install/tools/tool_panel_manager.py +++ b/lib/tool_shed/galaxy_install/tools/tool_panel_manager.py @@ -90,7 +90,7 @@ class ToolPanelManager( object ): fh.write( '\n' ) fh.close() except Exception: - log.exception( "Exception in ToolPanelManager.config_elems_to_xml_file: %s" ) + log.exception( "Exception in ToolPanelManager.config_elems_to_xml_file" ) finally: lock.release() diff --git a/lib/tool_shed/repository_registry.py b/lib/tool_shed/repository_registry.py index 6dd446a2a6a..d2aae163a11 100644 --- a/lib/tool_shed/repository_registry.py +++ b/lib/tool_shed/repository_registry.py @@ -345,7 +345,7 @@ class Registry( object ): # The viewable repository numbers and the categorized (filtered) lists of repository tuples # may be slightly skewed, but that is no reason to result in a potential server error. All # will be corrected at next server start. - log.exception( "Handled error removing entry from repository registry: %s." ) + log.exception( "Handled error removing entry from repository registry" ) @property def sa_session( self ):