Skip to content

Commit

Permalink
catch all types of requests timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
bdzim committed Aug 23, 2017
1 parent ce4446c commit 68dd7f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/directory_agent_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def main():

log.info("LDAP -> SpiderOak sync starting")
group_manager.run_group_management(config, db_conn)
except requests.exceptions.ConnectTimeout:
except requests.exceptions.Timeout:
log.error("Network request timed out")
return 1
except TimeoutError:
Expand Down

0 comments on commit 68dd7f8

Please sign in to comment.