error handler cannot be lazy