Updated error handler to be verbose (not use custom views) for all environments except 'production'.