Skip to content

Commit

Permalink
Add delete handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Romiko committed Jan 27, 2012
1 parent 275a181 commit 4d9e2b8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions gremlin-endpoint.rb
Expand Up @@ -48,8 +48,6 @@
response = RestClient.delete address
response.gsub(/(http:\/\/\w+\W*.*\/db\/data)/, "http://" + ENV['APP_NAME'] + ".heroku.com/db/data")
rescue Exception => e
address
e.message
e.backtrace.inspect
response = address + e.message + e.backtrace.inspect
end
end

0 comments on commit 4d9e2b8

Please sign in to comment.