Skip to content

Commit

Permalink
[fix] Fixed task log process.
Browse files Browse the repository at this point in the history
  • Loading branch information
yoneyan committed Aug 14, 2023
1 parent 7641897 commit 2fc127f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jpnic_admin/resource/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def exec_task(type1, base, log, now):
exc = sys.exception()
fail = {
"type": str(type(e)),
"message": "[%s] %s" % (str(e), repr(traceback.format_tb(exc.__traceback__)))
"message": "%s" % (str(traceback.format_tb(exc.__traceback__)))
}
update_task_log(type1, base, log, now, fail)

Expand Down Expand Up @@ -245,7 +245,6 @@ def get_resource(self):

@transaction.atomic
def search_list(self):
# raise "oops...."
# 最新版を取得
print("================")
print(self.base.asn, "now", self.now)
Expand Down

0 comments on commit 2fc127f

Please sign in to comment.