Bubble up python error