Added config value 'productionMode' that allow to disable the error reporting