Skip to content

Commit

Permalink
except Exception, not only URLError in reset server retry mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
arcangelo7 committed Nov 28, 2024
1 parent f814792 commit 6dc552e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/meta_process_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def reset_server(server:str='http://127.0.0.1:8805/sparql') -> None:
ts.setMethod(POST)
ts.query()
break
except URLError:
except Exception:
retry_count -= 1
if retry_count == 0:
raise
Expand Down

0 comments on commit 6dc552e

Please sign in to comment.