Indeed, I would think so too. What do you think of changing this behavior? Returning None in case of error doesn't look so good for me.