Skip to content

Commit a4b24cb

Browse files
committed
st.stop() after error messages to prevent user spam
1 parent 34131d3 commit a4b24cb

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/dependabot/dependabot.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030

3131
if df_dependabot is None:
3232
st.error("Error loading Dependabot data. Please check the S3 bucket and file.")
33+
st.stop()
3334

3435

3536
rest = utils.get_rest_interface(

src/secret_scanning/secret_scanning.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030

3131
if df_secret_scanning is None:
3232
st.error("Error loading secret scanning data. Please check the S3 bucket and file.")
33+
st.stop()
3334

3435

3536
rest = utils.get_rest_interface(

0 commit comments

Comments
 (0)