Allow the CodeSnippet component to break builds
Closed this issue · 2 comments
lucas-tortora commented
Is your feature request related to a problem? Please describe.
I think it's worth considering the idea of allowing the CodeSnippet component to break wiki builds, so we can know anytime a snippet isn't working properly and correct it sooner rather than later.
Describe the solution you'd like
The component could raise an exception if startString
or endString
are not found./
jlvandenhout commented
I guess we can make it log to the console if that's the case, or make it a configurable setting. Breaking the entire Wiki build by default, because one code snippet is not properly configured sounds a bit rigorous to me.
Dr-Electron commented
Not relevant for now as we use another component