Better error handling for ActivityPubController