Skip to content

Commit 95686e1

Browse files
committed
Stop log bugout secret
1 parent 7026c2b commit 95686e1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

spire/github/actions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ async def process_secret(
734734
try:
735735
user = bugout_api.get_user(bugout_secret)
736736
except Exception as e:
737-
logger.info(f"Provided incorrect Bugout Secret -- {str(e)}")
737+
logger.info(f"Provided incorrect Bugout Secret")
738738
raise BugoutSecretIncorrect(
739739
f"Did not find user with provided token as Bugout Secret"
740740
)

spire/github/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ async def locust_summary_handler(
277277
logger.error(f"Issue or PR not found for comments_url: {summary.comments_url}")
278278
raise HTTPException(status_code=404)
279279
except actions.BugoutSecretIncorrect:
280-
logger.error(f"Bugout Secret {bugout_secret} is incorrect")
280+
logger.error(f"Bugout Secret is incorrect")
281281
raise HTTPException(status_code=403)
282282
except actions.S3CallFailed:
283283
logger.error("Error due processing Locust summary")

0 commit comments

Comments
 (0)