Files
kumomta/crates
Wez Furlong 82c831a8d8 kumod: avoid panic when main policy file has syntax error
The log-accounting-db-on-flush logic was getting tripped up
in the case that you have a fatal syntax error, such as a
construct like `local foo = {` with no closing brace.

It would try to flush the db before shutting down, but we
hadn't yet initialized the root LifeCycle object, so it
would panic before we got a chance to print the details
of the syntax error.

This commit makes the flush logic recognize when we haven't
started a lifecycle and simply skip in that case, because
we couldn't possibly have passed traffic in that situation.
2025-05-05 21:58:59 -07:00
..
2025-04-09 10:26:07 -07:00
2025-04-09 10:26:07 -07:00
2025-04-09 10:26:07 -07:00
2024-12-07 09:17:54 -07:00
2025-04-09 10:26:12 -07:00
2025-04-09 10:26:07 -07:00
2024-12-07 09:17:54 -07:00
2025-04-09 10:26:07 -07:00
2025-04-09 10:26:07 -07:00
2025-04-09 10:26:07 -07:00
2025-04-09 10:26:07 -07:00
2025-04-09 10:26:07 -07:00
2025-04-09 10:26:07 -07:00
2025-04-09 10:26:12 -07:00
2025-04-09 10:26:12 -07:00
2025-04-09 10:26:07 -07:00
2024-12-07 09:17:54 -07:00
2024-12-07 09:17:54 -07:00
2025-04-09 10:26:07 -07:00
2025-04-09 10:26:12 -07:00
2025-04-09 10:26:07 -07:00
2024-12-07 09:17:54 -07:00
2025-04-09 10:26:07 -07:00
2025-04-09 10:26:07 -07:00
2025-04-09 10:26:07 -07:00
2025-04-09 10:26:12 -07:00
2025-04-09 10:26:12 -07:00
2024-11-13 13:50:27 -07:00
2025-04-09 10:26:12 -07:00
2025-04-09 10:26:12 -07:00
2025-04-09 10:26:07 -07:00
2025-04-09 10:26:12 -07:00
2025-04-09 10:26:07 -07:00
2025-04-09 10:26:07 -07:00