Catch 404 errors in Dispatcher