Skip to content

[stable28] fix(files_external): Catch correct exception - #48363

Merged
kesselb merged 1 commit into
stable28from
backport/48345/stable28
Sep 26, 2024
Merged

[stable28] fix(files_external): Catch correct exception#48363
kesselb merged 1 commit into
stable28from
backport/48345/stable28

Conversation

@backportbot

Copy link
Copy Markdown

Backport of PR #48345

SMB#getFileInfo used to throw an icewind/smb exception, but nowadays throws \OCP\Files\ForbiddenException. This fixes downstream methods to catch the new exception.
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
@kesselb
kesselb merged commit cde0674 into stable28Sep 26, 2024
@kesselb
kesselb deleted the backport/48345/stable28 branch September 26, 2024 12:41
@AltahrimAltahrim mentioned this pull request Oct 1, 2024
2 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@marcelklehr@kesselb