Python Https Request Exception Handling In Plsql Insert