mirror of
https://github.com/Pacerino/CaddyProxyManager.git
synced 2026-07-06 05:41:42 -04:00
Older Caddy versions don't support `list-modules --json`, which made the plugins page fail with an opaque "exit status 1". Surface stderr in the error and fall back to parsing the plain-text output (--packages / --skip-standard) when --json is unsupported, so module detection works on any Caddy version.