This prevents the bot from crashing when a revision has no diff set and the repr method is called on the revision.
This only happens in the main error handling case for autoland revisions, but it prevents the bot from reporting error state on both phabricator & lando.
Closes https://mozilla.sentry.io/issues/6064254923
Refs #2260
This prevents the bot from crashing when a revision has no diff set and the
repr
method is called on the revision.This only happens in the main error handling case for autoland revisions, but it prevents the bot from reporting error state on both phabricator & lando.
Here is an example task where this happen.