aleph

mccraigmccraig 2018-12-24T11:27:15.001600Z

@lxsameer where's the exception happening ? when you put! or elsewhere ?

lxsameer 2018-12-24T11:28:45.002900Z

it’s an exception in my code, but the thing is that code might be written by user ( I’m writing a lib ) and I don’t want an exception just blow away everything. I want to be able to catch it and log it

lxsameer 2018-12-24T14:40:36.003300Z

@mccraigmccraig any idea ?

mccraigmccraig 2018-12-24T16:29:24.006600Z

we generally catch exceptions happening during maps on streams and keep them in a value implementing a marker protocol, then deal with them at reduce time - either log a couple of error exemplars or re-throw

lxsameer 2018-12-24T16:39:15.007300Z

@mccraigmccraig hmmm seems like a good idea, do you have any code snippet to share please?

mccraigmccraig 2018-12-24T16:41:20.008800Z

@lxsameer sure - give me a few days though, I'm staying away from my computer til then

lxsameer 2018-12-24T16:42:40.009400Z

sure, bad timing. Have a good Christmas

mccraigmccraig 2018-12-24T16:52:35.010400Z

no worries - ping me in a few days - happy Xmas @lxsameer