Skip to content

Commit

Permalink
Merge pull request #3646 from sqqueak/fix-loop-bug
Browse files Browse the repository at this point in the history
Fixed bug where osg-notify gets stuck in a loop while prompting for user password (SOFTWARE-5824)
  • Loading branch information
brianhlin authored Feb 16, 2024
2 parents ff344e0 + c21d716 commit 262ed8a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/osg-notify
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ def main():
while attempts > 0:
try:
results = topology_utils.get_vo_contacts(args)
break
except topology_utils.InvalidPathError as exc:
print(exc)
exit(1)
Expand All @@ -214,6 +215,7 @@ def main():
results = topology_utils.get_resource_contacts_by_fqdn(args)
else:
results = topology_utils.get_resource_contacts(args)
break
except topology_utils.InvalidPathError as exc:
exit(str(exc))
except topology_utils.IncorrectPasswordError as exc:
Expand Down

0 comments on commit 262ed8a

Please sign in to comment.