diff options
| author | Adam Soltys <[email protected]> | 2026-09-04 19:03:03 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-09-04 19:03:14 -0700 |
| commit | 671a114060ceaa7922affa00f90857bf99317d0a (patch) | |
| tree | eb972364ef7338d7c47a428153fceacb9b1c9a24 /package.json | |
| parent | a7fc7959eeb58fa7230c7e0869012f03ad2b23b7 (diff) | |
| download | coinos-server-671a114060ceaa7922affa00f90857bf99317d0a.tar.gz coinos-server-671a114060ceaa7922affa00f90857bf99317d0a.zip | |
flash: create printer dir and return errors instead of unhandled 500
The web flasher config endpoint wrote ./printer/config.txt without
creating the directory, so on a fresh deploy it threw ENOENT and the
JSON error body was flashed to devices as the LittleFS partition.
Create the directory, validate inputs, and route errors through bail.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_014gVYGi29FjTeLdNTiutkZx
Diffstat (limited to 'package.json')
0 files changed, 0 insertions, 0 deletions
