Remove useless logging to Sentry.
Remove useless logging to Sentry.

And simply use an 'if' instead of 'except Exception', which is
broader than what we need.

SoftwareHeritage/swh-web-ui,SoftwareHeritage/swh-web-ui,SoftwareHeritage/swh-web-ui