actions: Handle exceptions thrown by create_handler.