Skip to content

Instantly share code, notes, and snippets.

@axavio
Created January 13, 2012 06:31
Show Gist options
  • Save axavio/1604915 to your computer and use it in GitHub Desktop.
Save axavio/1604915 to your computer and use it in GitHub Desktop.
A snippet of log from a failed post:
Started POST "/preview.json" for 68.5.48.35 at Fri Jan 13 06:13:07 +0000 2012
Processing by PostsController#preview as JSON
Parameters: {"text"=>"[FILTERED]"}
Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.2ms)
Started POST "/status_messages" for 68.5.48.35 at Fri Jan 13 06:14:25 +0000 2012
Processing by StatusMessagesController#create as JSON
Parameters: {"commit"=>"Share", "authenticity_token"=>"eLEOo6fYC5N4Op+dRRrIYPGFrkSOE0b6qnJCSHiTN5w=", "utf8"=>"✓", "aspect_ids"=>["public"], "status_message"=>"[FILTERED]"}
Completed 500 Internal Server Error in 49ms
** [Hoptoad] Failure: Net::HTTPClientError
** [Hoptoad] Environment Info: [Ruby: 1.8.7] [Rails: 3.0.11] [Env: production]
** [Hoptoad] Response from Hoptoad:
<?xml version="1.0" encoding="UTF-8"?>
<errors>
<error>No project exists with the given API key.</error>
</errors>
ActiveRecord::RecordNotUnique (Mysql2::Error: Duplicate entry '148-8962' for key 'index_mentions_on_person_id_and_post_id': INSERT INTO `mentions` (`post_id`, `person_id`) VALUES (8962, 148)):
app/models/status_message.rb:109:in `create_mentions'
app/models/status_message.rb:108:in `create_mentions'
app/controllers/status_messages_controller.rb:54:in `create'
lib/chrome_frame.rb:39:in `call'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment