pycopy-lib icon indicating copy to clipboard operation
pycopy-lib copied to clipboard

logging error on lineno formater

Open alxkos opened this issue 2 years ago • 1 comments

Getting an error on trying to add format %(lineno)d parameter

code: logging.Formatter('%(lineno)d, %(name)s, %(message)s')

error: TypeError: can't convert NoneType to int

alxkos avatar Jan 12 '24 19:01 alxkos

note sure about issue, but beware that line numbers may be an optionnal feature in some build.

pmp-p avatar Jan 12 '24 20:01 pmp-p