BRANCH SP-856: Fixed the syntaxError of except.