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-05-05 08:25:40 -07:00
2025-05-05 08:25:40 -07:00
2025-04-09 10:26:07 -07:00
2025-05-05 08:25:40 -07:00
2024-11-13 13:50:27 -07:00
2025-03-10 09:54:49 -07:00
2025-05-05 08:48:41 -07:00
2025-04-09 10:26:07 -07:00
2025-04-28 05:51:13 -07:00
2025-05-05 21:58:59 -07:00
2025-04-09 10:26:07 -07:00
2025-04-01 06:37:12 -07:00
2025-04-09 10:26:07 -07:00
2025-04-09 10:26:07 -07:00
2025-05-05 21:58:59 -07:00
2025-04-30 14:01:26 -07:00
2025-04-09 10:26:12 -07:00
2025-04-14 10:05:27 -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-06 08:45:49 -07:00
2024-12-07 09:17:54 -07:00
2025-04-02 05:16:17 -07:00
2025-04-09 10:26:07 -07:00
2025-01-28 10:35:04 -07:00
2025-04-30 14:01:26 -07:00
2025-01-06 08:39:08 -07:00
2025-04-09 10:26:12 -07:00
2025-01-11 06:33:04 -07:00
2025-04-09 10:26:07 -07:00
2025-02-20 12:06:12 -07:00
2025-01-10 21:29:45 -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:11 -07:00
2025-04-09 10:26:12 -07:00
2025-04-30 14:15:39 -07:00
2025-04-09 10:26:12 -07:00
2024-11-13 13:50:27 -07:00
2025-04-09 10:26:07 -07:00
2025-04-09 10:26:12 -07:00
2025-04-14 14:23:20 -07:00
2025-04-09 10:26:07 -07:00
2024-11-13 13:50:27 -07:00
2025-03-18 14:05:30 -07:00
2025-04-09 10:26:07 -07:00