Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -483,6 +483,6 @@ if st.button("Generate Patent Insights"):
|
|
483 |
st.warning("Report generation skipped due to missing content.")
|
484 |
|
485 |
except Exception as e:
|
486 |
-
|
487 |
-
logging.error(f"An error occurred during execution
|
488 |
-
st.error("⚠️ An unexpected error occurred
|
|
|
483 |
st.warning("Report generation skipped due to missing content.")
|
484 |
|
485 |
except Exception as e:
|
486 |
+
error_message = traceback.format_exc()
|
487 |
+
logging.error(f"An error occurred during execution:\n{error_message}")
|
488 |
+
st.error(f"⚠️ An unexpected error occurred:\n{e}")
|