Skip to content

Commit

Permalink
Fix area id bug & refactor code
Browse files Browse the repository at this point in the history
  • Loading branch information
tychxn committed Feb 3, 2020
1 parent d89ba53 commit eeb9eb1
Show file tree
Hide file tree
Showing 3 changed files with 156 additions and 98 deletions.
10 changes: 10 additions & 0 deletions exception.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env python
# -*- encoding=utf8 -*-
from log import logger


class AsstException(Exception):

def __init__(self, message):
super().__init__(message)
logger.error(message)
Loading

0 comments on commit eeb9eb1

Please sign in to comment.