TypeError: '>=' not supported between instances of 'RecordException' and 'int'
at .extract ( /usr/local/lib/python3.10/traceback.py:357 )
at .init ( /usr/local/lib/python3.10/site-packages/exceptiongroup/_formatting.py:96 )
at .print_exception ( /usr/local/lib/python3.10/traceback.py:119 )
at .print_exc ( /usr/local/lib/python3.10/traceback.py:179 )
at .google_cloud_log_sink ( /./app/core/logger.py:47 )
at .write ( /usr/local/lib/python3.10/site-packages/loguru/_simple_sinks.py:113 )
at .emit ( /usr/local/lib/python3.10/site-packages/loguru/_handler.py:177 )****
TypeError: '>=' not supported between instances of 'RecordException' and 'int'
at .extract ( /usr/local/lib/python3.10/traceback.py:357 ) at .init ( /usr/local/lib/python3.10/site-packages/exceptiongroup/_formatting.py:96 ) at .print_exception ( /usr/local/lib/python3.10/traceback.py:119 ) at .print_exc ( /usr/local/lib/python3.10/traceback.py:179 ) at .google_cloud_log_sink ( /./app/core/logger.py:47 ) at .write ( /usr/local/lib/python3.10/site-packages/loguru/_simple_sinks.py:113 ) at .emit ( /usr/local/lib/python3.10/site-packages/loguru/_handler.py:177 )****
Getting this error when trying to print exception