Log success

This commit is contained in:
Pablo Martin 2023-08-03 16:01:34 +02:00
parent 97d79c771b
commit c8d4583543

View file

@ -78,6 +78,7 @@ def generate_um_report(start_date: str, end_date: str):
logger.warning(orders_without_sats_received) logger.warning(orders_without_sats_received)
raise ValueError("Not all orders have sats_received. Can't compute sats owed without that.") raise ValueError("Not all orders have sats_received. Can't compute sats owed without that.")
logger.info("Success, all orders have sats_received filled in.")
# Fetch orders: # Fetch orders:
# - Between specific dates # - Between specific dates
# - That contain the hardcoded products # - That contain the hardcoded products