generated docs: log trace instead of error

When the error occurred for getValueText it could potentially omit
useful documentation since the page stops rendering.
This commit is contained in:
Henry Wu 2019-10-28 17:07:55 -07:00 committed by Andrew Kelley
parent cb5a5ebb20
commit 170de5ecae

View File

@ -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]);
}
}