Closed tmack8001 closed 2 years ago
Pushed through a new enum value with https://github.com/chiefwigms/picobrew_pico/commit/283f96457073be24b38495dee8ed136d024f08cc. Leaving this open for now to track fixing the logic of the "check clean" to allow for invalid parsed sessions to be treated as "dirty"
If the session_type integer in the session file doesn't match an enum value then the PUT during bootup fails. We should just treat any and all invalid sessions after the latest CLEAN as a "dirty" session if we truly can't tell what it was. This way the bootup sequence isn't aborted with a 500 error like this and we get the best guess as to what this session is.
Also we should support
14
as a value... I guess and relay that as a MANUAL brew? Really not sure why anyone would manual brew in the Z ... but sure let's support it or at least not destroy the server interface.