mirror of
https://github.com/thegeeklab/ansible-doctor.git
synced 2024-11-17 18:50:41 +00:00
fix: add error handling for not existing base dir (#726)
This commit is contained in:
parent
41e5ec806b
commit
951f4394da
@ -26,6 +26,8 @@ class AnsibleDoctor:
|
||||
self._execute()
|
||||
except ansibledoctor.exception.DoctorError as e:
|
||||
sysexit_with_message(e)
|
||||
except FileNotFoundError as e:
|
||||
sysexit_with_message("Base directory not found", path=e.filename)
|
||||
except KeyboardInterrupt:
|
||||
sysexit_with_message("Aborted...")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user