Skip to content

Commit aa9e519

Browse files
committed
fix(desktop): log the Linux handler icon copy error
1 parent 5262e13 commit aa9e519

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎apps/desktop/src/app/DesktopLinuxUrlHandler.ts‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,11 @@ export const make = Effect.gen(function* () {
232232
// The AppImage mount is temporary; the chooser needs the icon after exit.
233233
yield* fileSystem.makeDirectory(iconsDir, { recursive: true });
234234
yield* fileSystem.copyFile(png.value, iconPath);
235-
}).pipe(Effect.catch(() => logWarning("URL handler icon copy failed", { iconPath })));
235+
}).pipe(
236+
Effect.catch((error) =>
237+
logWarning("URL handler icon copy failed", { iconPath, message: error.message }),
238+
),
239+
);
236240

237241
yield* updateDesktopDatabase.pipe(
238242
// Some MIME implementations, including GIO, use mimeinfo.cache to verify

0 commit comments

Comments
 (0)