joernroeder / piwik-react-router

Piwik analytics component for react-router
https://www.npmjs.org/package/piwik-react-router
MIT License
61 stars 22 forks source link

Feature request: Allow setting of custom error tracking handler #44

Closed the-overengineer closed 7 years ago

the-overengineer commented 7 years ago

Hi,

At oradian we found ourselves in need of using some custom error handling/transformation logic, which we couldn't do with the default error tracking handler. Therefore, we added and documented an init option to set your own custom handler, which is then invoked in places where the old, default, handler would be invoked.

If you think you can make use of this in your project, see PR #43 for details.

joernroeder commented 7 years ago

thanks @the-overengineer! i've just pushed version 0.10.0 to npm 👍