Skip to content
This repository was archived by the owner on Feb 21, 2020. It is now read-only.

Make transport more flexible by refactor functionality to own functions #5

Merged

Conversation

stanogurnik
Copy link
Contributor

@stanogurnik stanogurnik commented May 2, 2018

This way bits of transport can be easily adjusted by overloading:

class MyCustomSentry extends Sentry {
    _normalizeMessage(msg, meta) {
         return 'Custom message for all Errors'; // this makes no sense but illustrates usage
    }
}

@niftylettuce
Copy link
Collaborator

Released in v2.0.0 btw, sorry for delay

@stanogurnik stanogurnik deleted the make-transport-more-flexible branch August 6, 2018 14:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants