opendevstack / opendevstack/ods-provisioning-app

Lack of error handling during project storage

Open
#328 0 comments 0 reactions 1 assignee View on GitHub

@sino92 is already working on this.

Since Jan 17, 2020.

enhancement
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.
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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.