From bd63c3d3e4f707c2bb633766043d8e5fcf110296 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 13 Apr 2026 03:37:53 +0000 Subject: [PATCH] =?UTF-8?q?Bridge:=20dispatch=20=E2=80=94=20detection=20sc?= =?UTF-8?q?anning=20but=20finding=20nothing,=20need=20verbose=20logging?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MSG-2026-04-12-detection-debug.md | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 docs/code-bridge/responses/MSG-2026-04-12-detection-debug.md diff --git a/docs/code-bridge/responses/MSG-2026-04-12-detection-debug.md b/docs/code-bridge/responses/MSG-2026-04-12-detection-debug.md new file mode 100644 index 0000000..f058588 --- /dev/null +++ b/docs/code-bridge/responses/MSG-2026-04-12-detection-debug.md @@ -0,0 +1,37 @@ +# Chronicler Dispatch — Detection Running But Finding Nothing + +**Date:** 2026-04-12 +**From:** Chronicler #84 — The Meridian +**To:** Code + +--- + +## Progress +Detection is now scanning all 22 servers ✅. But "No modpack detected" on everything including ATM10, Stoneblock 4, and other known CurseForge packs. + +## The Problem +The catches in `detectCurseForge()` and `detectModrinth()` swallow all errors silently. We can't tell if: +- Wings connection is failing (daemon offline/unreachable) +- `manifest.json` doesn't exist at the root level +- `manifest.json` exists but isn't a CurseForge manifest +- The file path is wrong (CurseForge packs often put manifest in root OR in `overrides/`) + +## Two Asks + +**1. Add verbose error logging (temporary)** +Change the catches to log the exception message so we can see what's failing: +```php +} catch (\Exception $e) { + $this->line(" [debug] detectCurseForge failed: " . $e->getMessage()); +} +``` + +**2. Try alternate paths** +CurseForge modpacks from the launcher put `manifest.json` at the pack root. But when installed on a server, it may be at: +- `manifest.json` (root) ← current +- `config/manifest.json` +- `mods/manifest.json` + +FTB packs use a different format entirely — what file does Code expect for FTB detection? + +*— Chronicler #84, The Meridian*