Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove reference from worldpay airbrake message #409

Merged
merged 1 commit into from
Apr 24, 2019

Conversation

Cruikshanks
Copy link
Member

We intended to use Airbrake to track our worldpay responses so we could get a better understanding of why they sometimes fail.

When we first did this we included the registration reference in the message we were sending to Errbit not realising this would break Errbit's collation logic.

If Errbit receives the same error as previous, rather than create a new entry it instead records it against the initial record. In this way you can distinguish that your app has 'x' errors, and they have each occurred 'y' number of times.

By breaking the collation logic, it now appears we have hundreds of errors, each only occurring once.

This changes removes the reference from the message we send to fix this. We still get the reference number as its included in the params that get attached.

We intended to use Airbrake to track our worldpay responses so we could get a better understanding of why they sometimes fail.

When we first did this we included the registration reference in the message we were sending to Errbit not realising this would break Errbit's collation logic.

If Errbit receives the same error as previous, rather than create a new entry it instead records it against the initial record. In this way you can distinguish that your app has 'x' errors, and they have each occurred 'y' number of times.

By breaking the collation logic, it now appears we have hundreds of errors, each only occurring once.

This changes removes the reference from the message we send to fix this. We still get the reference number as its included in the params that get attached.
@Cruikshanks Cruikshanks added the housekeeping Changes such as refactoring label Apr 23, 2019
@Cruikshanks Cruikshanks self-assigned this Apr 23, 2019
@Cruikshanks Cruikshanks merged commit 76850e9 into master Apr 24, 2019
@Cruikshanks Cruikshanks deleted the fix-worldpay-airbrake-notification branch April 24, 2019 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
housekeeping Changes such as refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants