Skip to content

Commit

Permalink
Tweak fiber error handling doc
Browse files Browse the repository at this point in the history
  • Loading branch information
sogaiu committed Jun 3, 2023
1 parent a857881 commit 4483903
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions content/docs/fibers/error_handling.mdz
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ its second clause.

@codeblock[janet]```
(try
(do
(print "inside block...")
(error "oops")
(print "will never get here"))
([err] (print "caught error: " err)))
(do
(print "inside block...")
(error "oops")
(print "will never get here"))
([err] (print "caught error: " err)))
```

### @code`protect`
Expand Down

0 comments on commit 4483903

Please sign in to comment.