Enable handler error middleware