replace the custom refine error handler by a try/catch