Fork me on GitHub
#aleph
<
2018-12-24
>
mccraigmccraig11:12:15

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

lxsameer11:12:45

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

lxsameer14:12:36

@mccraigmccraig any idea ?

mccraigmccraig16:12:24

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

lxsameer16:12:15

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

mccraigmccraig16:12:20

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

lxsameer16:12:40

sure, bad timing. Have a good Christmas

mccraigmccraig16:12:35

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