Skip to content

Commit

Permalink
annofabapi.Wrapper..wait_until_job_finished関数のログメッセージを修正しました。 (#436)
Browse files Browse the repository at this point in the history
* poetry update

* update log

* version up
  • Loading branch information
yuji38kwmt committed Mar 25, 2022
1 parent e21a55d commit 202163d
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 97 deletions.
2 changes: 1 addition & 1 deletion annofabapi/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.55.1"
__version__ = "0.55.2"
6 changes: 5 additions & 1 deletion annofabapi/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -2250,7 +2250,11 @@ def get_job_from_job_id(arg_job_id: str) -> Optional[ProjectJobInfo]:

elif job["job_status"] == JobStatus.FAILED.value:
logger.info(
"project_id='%s', job_id='%s', job_type='%s' のジョブが失敗しました。", project_id, job_id, job_type.value
"project_id='%s', job_id='%s', job_type='%s' のジョブが失敗しました。:: errors='%s'",
project_id,
job_id,
job_type.value,
job["errors"],
)
return JobStatus.FAILED

Expand Down

0 comments on commit 202163d

Please sign in to comment.