aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/program')
-rw-r--r--stdlib/source/program/compositor.lux13
1 files changed, 7 insertions, 6 deletions
diff --git a/stdlib/source/program/compositor.lux b/stdlib/source/program/compositor.lux
index aaf9e27f4..0d59c7dd5 100644
--- a/stdlib/source/program/compositor.lux
+++ b/stdlib/source/program/compositor.lux
@@ -68,13 +68,14 @@
failure_description text.new_line
error text.new_line)]
(do !
- [_ (with_expansions [<else> (in (debug.log! report))]
- (for @.js (case console.default
- {.#None}
- <else>
+ [_ (with_expansions [<else> (in {try.#Success (debug.log! report)})]
+ (for @.js (is (Async (Try Any))
+ (case console.default
+ {.#None}
+ <else>
- {.#Some console}
- (console.write_line report console))
+ {.#Some console}
+ (console.write_line report console)))
<else>))]
(io.run! (# world/program.default exit +1))))