compass error handler