owncloud / web-app-dicom-viewer

ownCloud Web DICOM Viewer is an extension of ownCloud Web to preview DICOM files (medical images and their corresponding metadata)
GNU Affero General Public License v3.0
3 stars 1 forks source link

adding error checking for hooks & API helper functions #54

Closed koebel closed 3 months ago

koebel commented 3 months ago

Description

adding error checking for the hooks helper functions and and try/catch clause to API helper to make them less prone to errors or at least easier to understand why something is failing if there is an error with deleting files.

Related Issue

Motivation and Context

make app less prone to errors and improve debugging

Screenshots (if appropriate):

Types of changes

Checklist:

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud