Skip to content

Commit 302505d

Browse files
authored
Merge pull request #59658 from nextcloud/backport/59647/stable32
[stable32] fix(files): remove error message when closing the "Open locally" dialog
2 parents 13c8cce + 27f698d commit 302505d

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

apps/files/src/actions/openLocallyAction.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,11 @@ async function confirmLocalEditDialog(): Promise<'online'|'local'|false> {
110110
])
111111
.build()
112112

113-
await dialog.show()
113+
try {
114+
await dialog.show()
115+
} catch (error) {
116+
logger.debug('Open locally dialog closed', { error })
117+
}
118+
114119
return result
115120
}

dist/files-init.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files-init.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)