Skip to content

Commit

Permalink
Don't break boot on tx template compilation errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Jul 9, 2022
1 parent 463e92d commit 4a6e041
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,8 @@ func initTxTemplates(m *manager.Manager, app *App) {

for _, t := range tpls {
if err := t.Compile(app.manager.GenericTemplateFuncs()); err != nil {
lo.Fatalf("error compiling transactional template %d: %v", t.ID, err)
lo.Printf("error compiling transactional template %d: %v", t.ID, err)
continue
}
m.CacheTpl(t.ID, &t)
}
Expand Down

0 comments on commit 4a6e041

Please sign in to comment.