Catch and handle dispatch errors. Normally this shouldn't occur.