opendevstack / opendevstack/ods-provisioning-app
Lack of error handling during project storage
@sino92 is already working on this.
Since Jan 17, 2020.
- Dominant language
- Java
- Stars
- 14
- Forks
- 20
- Avg merge
- 3h 35m
- Merged PRs (30d)
- 1
Description
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.

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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.