Skip to content
Browse files

more debug

  • Loading branch information...
1 parent a4ac8cf commit 10af2cb02eadd4cb1a3e43aa9cae47ef2cd07016 @obfuscurity committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/backstop/web.rb
View
1 lib/backstop/web.rb
@@ -61,6 +61,7 @@ def sockets
rescue JSON::ParserError
halt 400, "JSON is required"
end
+ p data
halt 400, "missing fields" unless (data['repository'] && data['commits'])
data["source"] = "github"
data["ref"].gsub!(/\//, ".")

0 comments on commit 10af2cb

Please sign in to comment.
Something went wrong with that request. Please try again.