Update modules/ui/ui.py
Browse files- modules/ui/ui.py +3 -4
modules/ui/ui.py
CHANGED
@@ -351,10 +351,9 @@ def user_page(lang_code, t):
|
|
351 |
st.session_state.lang_code,
|
352 |
t
|
353 |
)
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
display_feedback_form(st.session_state.lang_code, t)
|
358 |
|
359 |
# Panel de depuraci贸n (solo visible en desarrollo)
|
360 |
if st.session_state.get('debug_mode', False):
|
|
|
351 |
st.session_state.lang_code,
|
352 |
t
|
353 |
)
|
354 |
+
except Exception as e:
|
355 |
+
logger.error(f"Error en tab {index}: {str(e)}")
|
356 |
+
st.error(t.get('tab_error', 'Error al cargar esta secci贸n'))
|
|
|
357 |
|
358 |
# Panel de depuraci贸n (solo visible en desarrollo)
|
359 |
if st.session_state.get('debug_mode', False):
|