alan-turing-institute / data-safe-haven

https://data-safe-haven.readthedocs.io
BSD 3-Clause "New" or "Revised" License
61 stars 15 forks source link

Traceback from validation error when uploading an SRE config #2210

Closed craddm closed 1 month ago

craddm commented 1 month ago

:white_check_mark: Checklist

:computer: System information

:package: Packages

List of packages ```none Paste list of packages here ```

:no_entry_sign: Describe the problem

Attempting to upload an invalid configuration file for an SRE results in a traceback rather than a clean exit. Should exit cleanly with a clear error message.

:deciduous_tree: Log messages

Relevant log messages ```none ![image](https://github.com/user-attachments/assets/b76538a1-57bd-4fa8-9cc5-f8cca40e4beb) ```

:recycle: To reproduce

Attempt to upload an invalid SRE config