In-Touch / laravel-newrelic

Laravel NewRelic ServiceProvider
173 stars 48 forks source link

feat: Run `nameTransaction` on `router.matched` #50

Closed lukewaite closed 7 years ago

lukewaite commented 7 years ago

This change updates the 5.0/5.1 branch to run on the router.matched event, rather than after the router. This will cause exceptions to be properly named as nameTransactions will have run before, rather than causing this to never run.

This is essentially a backport of the implementation in the versions for newer versions of Laravel.