From 170de5ecae27373149db247ca0cff464e090e31b Mon Sep 17 00:00:00 2001 From: Henry Wu Date: Mon, 28 Oct 2019 17:07:55 -0700 Subject: [PATCH] generated docs: log trace instead of error When the error occurred for getValueText it could potentially omit useful documentation since the page stops rendering. --- lib/std/special/docs/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/special/docs/main.js b/lib/std/special/docs/main.js index 8ea4598ee0..2fa6ccd1f2 100644 --- a/lib/std/special/docs/main.js +++ b/lib/std/special/docs/main.js @@ -543,7 +543,7 @@ return value + ""; } default: - throw new Error("TODO implement getValueText for this type"); + console.trace("TODO implement getValueText for this type:", zigAnalysis.typeKinds[typeObj.kind]); } }