diff --git a/src/main/rb/eca.rb b/src/main/rb/eca.rb index 388931254068637792fac04fc87fcf3eef6c8c18..7fa953ba997deef79b81798b33b0b3a8c638e275 100644 --- a/src/main/rb/eca.rb +++ b/src/main/rb/eca.rb @@ -161,6 +161,8 @@ begin parsed_response = MultiJson.load(response.body) rescue MultiJson::ParseError puts "GL-HOOK-ERR: Unable to validate commit, server error encountered.\n\nPlease contact the administrator, and retry the commit at a later time.\n\n" + ## Additional information for debugging - request will allow us to easily retest exact output and find errors in render + puts "Request body: #{MultiJson.dump(json_data)}\n\n" exit 1 else ## Tracks if warnings/errors were issued for request