Catch metric exceptions.