[TASK] Add production and debug exception handler
[TASK] Correct NewRelic exception handler