Closed sbonaime closed 11 years ago
After 24h of testing with a non reliable wifi connection I got those messages:
URLError:
Your commit solves the problem. I think we can remove the error message or create a debug flag to display error messages. What do you think ?
Good to hear. Interesting, I usually got this <urlopen error timed out>
as the Exception message (seems empty in your case). Anyway, for now I would just leave it in, maybe. What I would think more important would be to recognize from the plot that the events were not updated (e.g. plot some tiny red X in the lower right corner or some text "event update failed" or something similar).
Normally, the whole program would probably be run as something like a daemon in background, so at some point it would probably be nice to switch to the logging module and properly log to a file (or stdout if given a flag on startup). However, I think this is overkill at this stage.. ;)
After few ours of test, I get this error