This is a bit pointless. If ConnectionError will be risen in function, it will get caught on upper level and processed in same way as any other exception (so for example log will be added etc).