I literally spent 7+ hours debugging crashing web server with 132 exit code. At first I thought it's a swift-docker related problem, but then I found out in
stdlib source code (and shortly after that in official documentation, lol) that
precondition shows error message only in
debug builds, otherwise just trap.
I can't come up with any reason to do that, because obviously a) this is what
precondition is made for — to do sanity checks not just in
debug builds (like
assert), but also in
release and b) it makes it ten times harder to debug crashing production build.