Skip to content

CLI should handle errors from Action monad sensibly #144

@srid

Description

@srid

A malformed zquery in a zettel can trigger this:

image

This is bad. We should trigger a non-exit return code.


In Rib, make runShake take a exitOnException flag, and enable it unless -w/-s is on (because in watch or serve mode we don't want to exit, but only log the error).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions