Skip to content
Ryan Sandor Richards edited this page Feb 3, 2016 · 12 revisions

Your source for runnable rollbar reporting changes!

Tuesday February 2nd, 2016

API

  • Runnable just didn't have enough docks, this has been rectified.
  • This was, partially, a super-grouping being applied by rollbar to general errors that were wrapping specific errors (which can be found in the custom data section)
  • These are now grouped using the "custom.err" object with realistic titles (based on custom.err.message)
New Rules
[
  {
    "condition": {
      "path": "custom",
      "contains": "err"
    },
    "fingerprint": "{{ custom.err.message }}",
    "title": "{{ custom.err.message }}"
  }
]
  • This is a super grouping of all 404 errors as reported by the API's express server
  • Created a custom rule to group 404s by route
  • Added specific rule for the webhook internal route, as it seems to be reported in large batches for some reason (root cause unknown)
New Rules
[
  {
    "condition": {
      "eq": "/contexts/:contextId/versions/:id/actions/build", 
      "path": "context"
    }, 
    "fingerprint": "webhook-404s", 
    "title": "Build 404 When Processing Webhook"
  },
  {
    "condition": {
      "eq": "Not Found",
      "path": "custom.error"
    },
    "fingerprint": "404-{{ context }}",
    "title": "404 Not Found: {{ context }}"
  }
]
  • This appears to be triggered when hermes.close is called and the server is not running
  • Should be safe to ignore, going to look into the error handling code in the API to see about doing that
  • Only happens in staging (thanks RQL!), so added additional logic to bypass reporting of the error if process.env.NODE_ENV === 'staging'
  • PR: https://github.com/CodeNow/api/pull/1325
Clone this wiki locally