I think it's better if we just use ``except Exception as e`` and pass ``e`` into ``logger`` instead of writing a custom message.