Browse Source
Seems that Lwt 5 throws a weird error when using `exit(1)` inside a promise. So instead of exiting in the command, making all executable modules a function that returns a `result((), status_code)` is a better fit. Relates to: https://github.com/ocsigen/lwt/issues/758remotes/origin/add-simple-redirecting-site
![gal@spitfire.co.il](/assets/img/avatar_default.png)
![GitHub](/assets/img/avatar_default.png)
8 changed files with 58 additions and 46 deletions
Loading…
Reference in new issue