I think this should be:

    except Exception as e:

but - maybe let this raise on its own without the exception handling as above?