HF RL Explorer

expense tracking: handle missing file

expense tracking: handle missing file: a task in smol-software-harbor (Harbor dataset). go run ./cmd/ledger missing.csv prints a confusing ledger: invalid argument when the file does not exist. Make the program print exactly ledger: cannot open missing.csv (with the path given) to stderr and exit…

The task

`go run ./cmd/ledger missing.csv` prints a confusing `ledger: invalid argument` when the file does not exist. Make the program print exactly `ledger: cannot open missing.csv` (with the path given) to stderr and exit with status 1. Existing files keep working. The code is in `cmd/ledger/main.go`.

Part of efederici/smol-software-harbor.