ods-provisioning-app icon indicating copy to clipboard operation
ods-provisioning-app copied to clipboard

Lack of error handling during project storage

Open sino92 opened this issue 6 years ago • 0 comments

Is your feature request related to a problem? Please describe. During provisioning of a project locally, when a project storage fails due to https://github.com/opendevstack/ods-provisioning-app/issues/327, an accurate error message is missing. Screen Shot 2020-01-13 at 14 13 25

Describe the solution you'd like Add a catch block and throw an IOException here: https://github.com/opendevstack/ods-provisioning-app/blob/bcd75037b1e6d81d2bbe27f8ccdc47ab8c53751d/src/main/java/org/opendevstack/provision/storage/LocalStorage.java#L194 As opposed to missing file indicated in stack trace, seeing a message that says the file has failed to be written on the system and/or throws the error message would make things clearer.

Describe alternatives you've considered none.

Additional context none.

sino92 avatar Jan 14 '20 09:01 sino92