Explorar o código

SKException中不进行日志打印

HuangYiwei %!s(int64=5) %!d(string=hai) anos
pai
achega
b5505bc814
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      exception.py

+ 0 - 2
exception.py

@@ -1,10 +1,8 @@
 #!/usr/bin/env python
 # -*- encoding=utf8 -*-
-from jd_logger import logger
 
 
 class SKException(Exception):
 
     def __init__(self, message):
         super().__init__(message)
-        logger.error(message)