owncloud / data_exporter

Export/Import for ownCloud user data
GNU General Public License v2.0
7 stars 5 forks source link

Do not throw an exception if there is no trashbin to import #229

Closed phil-davis closed 1 year ago

phil-davis commented 1 year ago

Description

If there is no trashbin to import, then there might not even be a trashbin.jsonl to read. If that happens, do not throw an exception, just quietly return - there is no need to crash out on a "null" trashbin.

Related Issue

Fixes #210

How Has This Been Tested?

CI acceptance test scenario

Types of changes

Checklist:

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication