aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-04 19:03:03 -0700
committerAdam Soltys <[email protected]>2026-09-04 19:03:14 -0700
commit671a114060ceaa7922affa00f90857bf99317d0a (patch)
treeeb972364ef7338d7c47a428153fceacb9b1c9a24 /db
parenta7fc7959eeb58fa7230c7e0869012f03ad2b23b7 (diff)
downloadcoinos-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 'db')
0 files changed, 0 insertions, 0 deletions