Avoid raising exceptions in metrics
Avoid raising exceptions in metrics

Sentry will catch the errors if they happen, so that should be good enough, and
woun't make things explode if we hit the error condition.

matrix-org/synapse,matrix-org/synapse,matrix-org/synapse,matrix-org/synapse,matrix-org/synapse,matrix-org/synapse