Skip to content

Commit

Permalink
Merge pull request #2204 from guerler/fix_error_message_000
Browse files Browse the repository at this point in the history
[16.04] Improve error message for data source tools, executed through the tool_runner controller
  • Loading branch information
martenson committed Apr 20, 2016
2 parents 8749c82 + e9df73c commit e88e615
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 e88e615

Please sign in to comment.