Replace the hardcoded msg with the exception msg in the cloud send tool.

This commit is contained in:
vahid
2018-10-25 13:23:18 -07:00
parent 8c95f174ba
commit d4d659a851
+2 -1
View File
@@ -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