Update config/environment.coffee

added on Error