fix: Correct "The job is not exist" to "The job does not exist" (#17516)
This commit is contained in:
parent
e350511102
commit
0afad94378
2 changed files with 8 additions and 8 deletions
|
|
@ -37,7 +37,7 @@ class AnnotationReplyActionStatusApi(Resource):
|
|||
app_annotation_job_key = "{}_app_annotation_job_{}".format(action, str(job_id))
|
||||
cache_result = redis_client.get(app_annotation_job_key)
|
||||
if cache_result is None:
|
||||
raise ValueError("The job is not exist.")
|
||||
raise ValueError("The job does not exist.")
|
||||
|
||||
job_status = cache_result.decode()
|
||||
error_msg = ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue