Shopify / liquid

Liquid markup language. Safe, customer facing template language for flexible web apps.
https://shopify.github.io/liquid/
MIT License
11.05k stars 1.38k forks source link

Save original error at internal error. #1736

Open pranavbabu opened 1 year ago

pranavbabu commented 1 year ago

This PR will be helpful for debugging internal errors of liquid gem by providing original error in internal error object. Personally I have a lot of cases when I do typo or some method raise an error and liquid gem returns Liquid::InternalError which is not very helpful for debugging what actually happened.

pranavbabu commented 1 year ago

I have signed the CLA!