also try to handle errors not globally but in async function
    
    
     nim
    proc main() {.async.} =
      try:
        await dial(...)
      except e:
        stopLoop()
        raise e
    asyncCheck main()
    runForever()
    
    
    Run

Reply via email to