Skip to content

Commit

Permalink
Merge pull request #28 from homenoc/develop
Browse files Browse the repository at this point in the history
[fix] Fixed task log process.
  • Loading branch information
yoneyan authored Aug 14, 2023
2 parents 6d4a11b + 2fc127f commit 59cffef
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 59cffef

Please sign in to comment.