mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 12:13:33 +08:00
Replace the hardcoded msg with the exception msg in the cloud send tool.
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
#set $authz_record=$__app__.authnz_manager.try_get_authz_config($__app__.obj.model.context.current, int($__user_id__), $__app__.security.decode_id($authz_id.__str__()))
|
||||
#set $credentials_file = $__app__.authnz_manager.get_cloud_access_credentials_in_file($__app__.config.new_file_path, $authz_record, $__app__.obj.model.context.current, int($__user_id__))
|
||||
#except
|
||||
echo "Authentication or authorization failed." >&2
|
||||
#set $exc = $sys.exc_info()[1]
|
||||
echo '$exc' >&2
|
||||
#else
|
||||
python $__tool_directory__/send.py
|
||||
--provider=$authz_record.provider
|
||||
|
||||
Reference in New Issue
Block a user