def dispatch_failed(self, context):
        """Print the unhandled exception and exit the application."""
        traceback.print_exception(
            context.exc_type, context.exc_value, context.traceback)
        raise SystemExit(1)