Don't use the errorHandler middleware in production mode