Re: [tor-dev] Raising exceptions in add_event_listener() threads (was Re: HSv3 descriptor work in stem)

2019-12-03 Thread George Kadianakis
Damian Johnson writes: > Thanks George, this is a great question! I've expanded our tutorial to > hopefully cover this a bit better... > > https://stem.torproject.org/tutorials/tortoise_and_the_hare.html#advanced-listeners > Thanks both for this information! It was very useful! I basically

Re: [tor-dev] Raising exceptions in add_event_listener() threads (was Re: HSv3 descriptor work in stem)

2019-11-27 Thread Damian Johnson
Thanks George, this is a great question! I've expanded our tutorial to hopefully cover this a bit better... https://stem.torproject.org/tutorials/tortoise_and_the_hare.html#advanced-listeners You can trivially print exceptions within your listener if that is all you care about...

Re: [tor-dev] Raising exceptions in add_event_listener() threads (was Re: HSv3 descriptor work in stem)

2019-11-27 Thread teor
Hi George, > On 28 Nov 2019, at 02:04, George Kadianakis wrote: > > Hello Damian (and list), > > here is another question about an issue I have encountered while > developing onionbalance v3. > > In particular, I'm fetching HS descriptors using HSFETCH and then adding > an

[tor-dev] Raising exceptions in add_event_listener() threads (was Re: HSv3 descriptor work in stem)

2019-11-27 Thread George Kadianakis
Hello Damian (and list), here is another question about an issue I have encountered while developing onionbalance v3. In particular, I'm fetching HS descriptors using HSFETCH and then adding an add_event_listener() event to a function that does the descriptor parsing and handling as follows: