Commit 8db30d3
committed
Check that exports succeeded
The `exports->Set` call here returns a `Maybe<bool>` indicating
whether it succeeded. Before this change, we ignored this result.
This effectively never fails, but the unused result triggers a warning
in some compilers.
This change adds a Check() to this site to assert that the export
succeeded. Note that this crashes the process on failure, but as
noted this failure shouldn't happen, and it's unlikely that clients
can usefully recover in any case.1 parent ef1c424 commit 8db30d3
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
381 | | - | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
382 | 387 | | |
0 commit comments