diff --git a/main.rb b/main.rb index dffec51..c21bb8b 100644 --- a/main.rb +++ b/main.rb @@ -18,5 +18,5 @@ if response.code == '200' puts response.body else - raise StandardError.new("action failed! #{response.body}") + raise StandardError, "action failed! #{response.body}" end