Skip to content

Commit

Permalink
Improve error message for data source tools, executed through the too…
Browse files Browse the repository at this point in the history
…l_runner controller
  • Loading branch information
guerler committed Apr 20, 2016
1 parent e137388 commit e9df73c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/tools/__init__.py
Expand Up @@ -1120,7 +1120,7 @@ def handle_input( self, trans, incoming, history=None ):
log.debug( 'Validated and populated state for tool request %s' % validation_timer )
# If there were errors, we stay on the same page and display them
if any( all_errors ):
raise exceptions.MessageException( err_data=all_errors[ 0 ] )
raise exceptions.MessageException( ', '.join( [ msg for msg in all_errors[ 0 ].itervalues() ] ), err_data=all_errors[ 0 ] )
else:
execution_tracker = execute_job( trans, self, all_params, history=request_context.history, rerun_remap_job_id=rerun_remap_job_id, collection_info=collection_info )
if execution_tracker.successful_jobs:
Expand Down

0 comments on commit e9df73c

Please sign in to comment.