dom96 / nimbuild

Nim's build farm
http://build.nim-lang.org
12 stars 3 forks source link

builder can't start without network #7

Closed gradha closed 11 years ago

gradha commented 11 years ago

The builder can't start up if there is no network access:

Started builder: built at 2013-03-08 23:22:38
Traceback (most recent call last)
builder.nim(855)         builder
builder.nim(724)         open
builder.nim(709)         hubConnect
asyncio.nim(293)         connect
sockets.nim(402)         connectAsync
os.nim(207)              OSError
Error: unhandled exception: nodename nor servname provided, or not known [EOS]

It would be nice if it acknowledged this and kept retrying connection (or whatever it seems to be doing), or maybe exit handling the exception gracefully with an error message to the user along with an exit code for external monitoring tools to catch.