[2.0][feature] error_displaying according to enviroment 

Added ENV constant to config, welcomed when you need to push in prod on friday evening.