straight-shoota / crinja

Implementation of Jinja2 template language in Crystal
https://straight-shoota.github.io/crinja/
Other
127 stars 12 forks source link

Use blocks to invoke logging #34

Closed waghanza closed 4 years ago

waghanza commented 4 years ago

Hi @straight-shoota,

When building master, I have a

Showing last frame. Use --error-trace for full trace.

In src/cli.cr:110:20

 110 | Crinja::CLI::Log.fatal(exception: ex)
                        ^----
Error: 'Log#fatal' is expected to be invoked with a block, but no block was given

Regards,