Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot reload the same identity file in case of error #60

Open
ahazeltonNF opened this issue Nov 15, 2023 · 0 comments
Open

Cannot reload the same identity file in case of error #60

ahazeltonNF opened this issue Nov 15, 2023 · 0 comments
Assignees

Comments

@ahazeltonNF
Copy link

Adding exception handling around the openziti.load method to catch a load failure with the intention of correcting the error and attempting to load again does not work and just hangs in the second call to load.
Sample code:

try:
  openziti.load('myIdentity.json')
except:
  # Fix the error with the file and try again
  openziti.load('myIdentity.json') # Hangs here
@ekoby ekoby self-assigned this Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants