protoc-gen-gotemplate icon indicating copy to clipboard operation
protoc-gen-gotemplate copied to clipboard

Template errors don't return, just fail

Open clintberry opened this issue 6 years ago • 2 comments

I've noticed when I have errors in my template, the code fires and completes but never prints an error. Is this behavior others are seeing? I started to dive into the code and it was a bit over my head, but I will keep trucking.

clintberry avatar Jun 21 '18 21:06 clintberry

Hi,

Can you share an example?

On 21 Jun 2018, at 23:19, Clint Berry [email protected] wrote:

I've noticed when I have errors in my template, the code fires and completes but never prints an error. Is this behavior others are seeing? I started to dive into the code and it was a bit over my head, but I will keep trucking.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/moul/protoc-gen-gotemplate/issues/97, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFvTQ1x9eyDwRj-V7Gzsj_C9UkZ3Sopks5t_A3cgaJpZM4UyyLQ.

moul avatar Jun 21 '18 22:06 moul

I ran into this also. anything you do that references a template variable that doesn't exist.

sigmonsays avatar Jul 10 '18 17:07 sigmonsays