def test_topup_accounts_task_error(self, logger, topup_cash):
        UserFactory()
        topup_cash.side_effect = Exception()
        topup_accounts_task()
        logger.exception.assert_called_once()