Skip to content

Commit

Permalink
no undefined e exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Volodymyr Savchenko authored and Volodymyr Savchenko committed Feb 15, 2024
1 parent a5817e8 commit 82be0e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions odabot/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ def update_workflows(obj, dry_run, force, loop, pattern):

workflow_update_status[project['http_url_to_repo']]['last_deployment_status'] == 'success'

except:
except Exception as e:
set_commit_state(project['id'],
last_commit['id'],
"frontend_tab",
Expand All @@ -593,7 +593,7 @@ def update_workflows(obj, dry_run, force, loop, pattern):
f"[ODA-Workflow-Bot] error creating frontend tab for {project['name']}",
traceback.format_exc())
# TODO: sentry
logger.error("exception while generating tab: %s", repr(e))
logger.exception("exception while generating tab: %s", repr(e))

else:
set_commit_state(project['id'],
Expand Down

0 comments on commit 82be0e9

Please sign in to comment.