-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle return values better from Filesystem::getMountBy* #8285
Conversation
💣 Test Failed. 💣 |
@owncloud-bot retest this please |
The inspection completed: 3 new issues, 1 updated code elements |
🚀 Test Passed. 🚀 |
Looks good - please review @schiesbn @PVince81 |
getMountByStorageId and getMountByNumericId return an empty array on error, which should be detected to avoid possible errors. This commit also adds in some new logging points and throws to aid debugging
Rebased. I noticed part of this change implemented in 2049bed, but I changed |
🚀 Test Passed. 🚀 |
Looks good, makes sense 👍 |
@schiesbn @icewind1991 another review? |
Looks good 👍 |
Handle return values better from Filesystem::getMountBy*
getMountByStorageId
andgetMountByNumericId
return an empty array on error, which should be detected to avoid possible errors. This PR also adds in some new logging points and throws to aid debugging