silverfin / silverfin-cli

Command line tool for Silverfin template development
4 stars 1 forks source link

Make error messages refer to the correct handle when catching errors #127

Closed BenjaminLangenakenSF closed 5 months ago

BenjaminLangenakenSF commented 5 months ago

Would it be possible to have error messages referring to the correct handle?

Example: Below error message referred to the wrong handle, which was a bit confusing. image

The issue occurred in a different config file though: image

Woetfin commented 5 months ago

I'm already adding some additional user feedback for errors inside the PR #120 ; so I'll also add an improved error message for this one in the same PR

BenjaminLangenakenSF commented 5 months ago

Perfect thanks!

Woetfin commented 5 months ago

@BenjaminLangenakenSF

In version 1.26.8, you should now get pointed towards which template / shared part has an issue if there's an error thrown in the config: image