mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-02 11:54:43 +00:00
fix exception test
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2640 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
0502071f5c
commit
c9239135b1
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ def exception (logname, msg, *args, **kwargs):
|
|||
return: None
|
||||
"""
|
||||
log = logging.getLogger(logname)
|
||||
if log.isEnabledFor(logging.EXCEPTION):
|
||||
if log.isEnabledFor(logging.ERROR):
|
||||
_log(log.exception, msg, args, tb=kwargs.get("tb"))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue