Skip to content

Commit

Permalink
SKException中不进行日志打印
Browse files Browse the repository at this point in the history
  • Loading branch information
huanghyw committed Dec 23, 2020
1 parent 03e5a91 commit b5505bc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions exception.py
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit b5505bc

Please sign in to comment.