Catch and handle errors in pattern lab builds#821
Conversation
|
Hey @isaacchansky, I checked this out and I'm not sure I understand what you're requesting. On the So it looks like the current state (on the |
|
Interesting. So, on my machine if I add an unclosed IF statement to a twig file, I get the following on And then on this branch for the PR I get: So, the goal was to surface line numbers with errors in twig templates. Likewise for JSON files, on But on this branch for the PR I get: (note: it always says line 1 due to what I assume is a lack of expansion on parsing, but you still get the file name). |
|
In case this is a machine setup difference: |

Description
When pattern lab builds break, error messages were being suppressed. This should surface them again.
Related Issue / Ticket
Steps to Test
gulpScreenshots
Use something like licecap to capture gifs to demonstrate behaviors.
Additional Notes:
Anything else to add?
Impacted Areas in Application
@todo
Today I learned...