The {{assert}} macro has two arities, documented as {{(assert x)}} and {{(assert x message)}}
The docstring is:
{quote}
Evaluates expr and throws an exception if it does not evaluate to logical true.
{quote}
This is quite misleading since {{assert}} actually throws an {{Error}}. It is tempting to use {{assert}} assuming that a failure will lead to a stacktrace in logs, like any other {{Exception}}, but the reality is that the JVM will terminate.
The behaviour is correct, {{assert}} should cause a program to exit if the asserted condition is true but I regularly come across incorrect uses.
I'll work up a patch if people agree this is an issue.