twinturbo/harness — pull request #1 by fphilipe (2012-05-07 08:00:29+00:00)
Title: Don't log counter when exception raised

This pull request makes stuff like the following example work as expected:

```ruby
def create
ActiveSuppport::Notifications.instrument 'count.users', counter: true do
User.create! params[:user]
end
rescue ActiveRecord::RecordInvalid
render :new
end
```

I'm not quite sure if gauges should still be tracked, though.