An error is raised because name 'usercontinue' is not defined. To fund the error, I used this nipped of code:
except Exception as e: print(e)