Why errors are disabled on `dev` and enabled on `production` ? Shouldn't it be the other way around ?