diff --git a/apps/files/src/actions/openLocallyAction.ts b/apps/files/src/actions/openLocallyAction.ts index 1d81da16d0e..071fddcc5e0 100644 --- a/apps/files/src/actions/openLocallyAction.ts +++ b/apps/files/src/actions/openLocallyAction.ts @@ -109,7 +109,12 @@ async function confirmLocalEditDialog(): Promise<'online'|'local'|false> { }, ]) .build() - - await dialog.show() + + try { + await dialog.show() + } catch (error) { + logger.debug('"Open locally" dialog closed') + } + return result }