mirror of
https://github.com/urbit/shrub.git
synced 2024-12-24 03:14:30 +03:00
08ad367cd8
Previously, if an incoming request caused a crash, we would just drop it on the floor. We should at least have the decency to serve the client a quick 500 and let them get on with their day. We make sure not to touch state here. The connection is guaranteed-fresh because of the task's semantics, and we're handling it in-line in one go. Notably we only give a simple "crud!" for the body, instead of the full error trace. We don't know whether the request is authenticated or not (and who knows if checking was the cause of the crash!), and the crud might leak sensitive details about the ship it occurred on. For the owner, the trace still gets printed into the terminal. |
||
---|---|---|
.. | ||
arvo | ||
autoprop | ||
base-dev | ||
herb | ||
interface | ||
landscape | ||
symbolic-merge.sh |