Debug exceptions are critical in dev mode

Signed-off-by: Tom Wright <tom@inflatablecookie.com>