Fix error in the continuation error handler