Skip to content

[stable30] fix(files_external): Catch correct exception - #48365

Merged
kesselb merged 1 commit into
stable30from
backport/48345/stable30
Sep 26, 2024
Merged

[stable30] fix(files_external): Catch correct exception#48365
kesselb merged 1 commit into
stable30from
backport/48345/stable30

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 e4a5643 into stable30Sep 26, 2024
@kesselb
kesselb deleted the backport/48345/stable30 branch September 26, 2024 12:39
@AltahrimAltahrim mentioned this pull request Oct 1, 2024
4 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