Skip to content

Commit 170de5e

Browse files
hwu1001andrewrk
authored andcommitted
generated docs: log trace instead of error
When the error occurred for getValueText it could potentially omit useful documentation since the page stops rendering.
1 parent cb5a5eb commit 170de5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/std/special/docs/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@
543543
return value + "";
544544
}
545545
default:
546-
throw new Error("TODO implement getValueText for this type");
546+
console.trace("TODO implement getValueText for this type:", zigAnalysis.typeKinds[typeObj.kind]);
547547
}
548548
}
549549

0 commit comments

Comments
 (0)