matcha icon indicating copy to clipboard operation
matcha copied to clipboard

BUG: Missing file close error check in Kitty debug logger

Open andrinoff opened this issue 7 months ago • 2 comments

Describe the bug Kitty debug logger at fetcher/fetcher.go:2695-2704 writes to file but ignores Close() error. Data may not flush to disk.

To reproduce

  1. Set DEBUG_KITTY_LOG to path near disk full
  2. Write succeeds but Close() fails
  3. Debug data lost silently

Expected behavior Check Close() error, warn user if write incomplete

Matcha version master

OS All

Additional context File: fetcher/fetcher.go lines 2695-2704 Data loss on close failure

andrinoff avatar Apr 21 '26 14:04 andrinoff

This has had no activity for 30 days. It will be closed in 14 days unless updated. Comment or remove the stale label to keep it open.

floatpanebot avatar May 22 '26 06:05 floatpanebot

Closing due to inactivity. Reopen if still relevant.

floatpanebot avatar Jun 04 '26 19:06 floatpanebot