catch any possible exception here and send it via the error continuation