You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.
Add "raise e" to ml.rb to take advantage of Ruby setting exit status so ML commands can be embedded and exit status tested externally
rescue Net::HTTPServerException => e
case e.response
when Net::HTTPUnauthorized then
@logger.error "Invalid login credentials for #{@properties["environment"]} environment!!"
raise e
else
@logger.error e
@logger.error e.response.body
raise e
end
rescue Net::HTTPFatalError => e
@logger.error e
@logger.error e.response.body
raise e
rescue DanglingVarsException => e
@logger.error "WARNING: The following configuration variables could not be validated:"
e.vars.each do |k,v|
@logger.error "#{k}=#{v}"
end
raise e
rescue HelpException => e
Help.doHelp(@logger, e.command, e.message)
raise e
rescue ExitException => e
@logger.error e
raise e
rescue Exception => e
@logger.error e
@logger.error e.backtrace
raise e
end
The text was updated successfully, but these errors were encountered:
Add "raise e" to ml.rb to take advantage of Ruby setting exit status so ML commands can be embedded and exit status tested externally
rescue Net::HTTPServerException => e
case e.response
when Net::HTTPUnauthorized then
@logger.error "Invalid login credentials for #{@properties["environment"]} environment!!"
raise e
else
@logger.error e
@logger.error e.response.body
raise e
end
rescue Net::HTTPFatalError => e
@logger.error e
@logger.error e.response.body
raise e
rescue DanglingVarsException => e
@logger.error "WARNING: The following configuration variables could not be validated:"
e.vars.each do |k,v|
@logger.error "#{k}=#{v}"
end
raise e
rescue HelpException => e
Help.doHelp(@logger, e.command, e.message)
raise e
rescue ExitException => e
@logger.error e
raise e
rescue Exception => e
@logger.error e
@logger.error e.backtrace
raise e
end
The text was updated successfully, but these errors were encountered: