This would tidy up the code slightly and should make it easier to swap error reporters in the future. It also removes a dependency from the event router which will help with running it in other environment and potentially extracting it in the future.
This would tidy up the code slightly and should make it easier to swap error reporters in the future. It also removes a dependency from the event router which will help with running it in other environment and potentially extracting it in the future.