Display exception if environment is not "production"