Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in traceback logging #124590

Closed
aliasgar55 opened this issue Sep 26, 2024 · 3 comments
Closed

Exception in traceback logging #124590

aliasgar55 opened this issue Sep 26, 2024 · 3 comments
Labels
type-bug An unexpected behavior, bug, or error

Comments

@aliasgar55
Copy link

aliasgar55 commented Sep 26, 2024

Bug report

Bug description:

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 the above exception when trying to log exception

CPython versions tested on:

3.10

Operating systems tested on:

Linux

@aliasgar55 aliasgar55 added the type-bug An unexpected behavior, bug, or error label Sep 26, 2024
@ZeroIntensity ZeroIntensity added the pending The issue will be closed if no feedback is provided label Sep 26, 2024
@ZeroIntensity
Copy link
Member

Hi, based on the traceback, this looks like a problem in loguru. Could you report this to them first?

@aliasgar55
Copy link
Author

I have raise a bug in loguru

@skirpichev
Copy link
Member

JFR, Delgan/loguru#1212

@skirpichev skirpichev closed this as not planned Won't fix, can't repro, duplicate, stale Sep 27, 2024
@skirpichev skirpichev removed the pending The issue will be closed if no feedback is provided label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

3 participants