Skip to content

Commit

Permalink
Add error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
grosjeang committed Feb 24, 2025
1 parent 3a30156 commit d8708b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bertrend_apps/exploration/curebot/tabs/tab1.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import pandas as pd
from loguru import logger
import streamlit as st

from bertrend_apps.exploration.curebot.app_utils import (
Expand All @@ -23,6 +24,7 @@ def show() -> None:
try:
preprocess_data()
except Exception as e:
logger.error(e)
st.error(
f"Erreur lors du chargement des données. Vérifiez que vos données respectent le format Curebot attendu."
)
Expand Down

0 comments on commit d8708b3

Please sign in to comment.