honeybadger-io / honeybadger-php

PHP library for reporting errors to Honeybadger.io :elephant: :zap:
https://www.honeybadger.io/for/php/?utm_source=github&utm_medium=readme&utm_campaign=php&utm_content=website-url
MIT License
38 stars 21 forks source link

Add support for adding context before sending error #181

Open subzero10 opened 1 year ago

subzero10 commented 1 year ago

@ben-findley received feedback that we could allow setting custom diagnostics (or context) before sending an error to Honeybadger.

On first glance, this would be something similar to the beforeNotify handlers for Javascript.

Reference: Slack message