convert "Exeception, e" syntax to "Exception as e"