Skip to content

Commit

Permalink
chore: remove check
Browse files Browse the repository at this point in the history
  • Loading branch information
vladopajic committed Mar 3, 2025
1 parent c62c9b6 commit d6f9a77
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/circuitrelay.nim
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ proc main() {.async.} =
await conn.writeLp("test4")
except CancelledError as e:
raise e
except CatchableError:
check false # should not be here
echo "exception in handler", getCurrentException().msg
except CatchableError as e:
echo "exception in handler", e.msg

let
relay = Relay.new()
Expand Down

0 comments on commit d6f9a77

Please sign in to comment.