fix: Correct "The job is not exist" to "The job does not exist" (#17516)

This commit is contained in:
Jasonfish
2025-04-07 12:32:25 +08:00
committed by GitHub
parent e350511102
commit 0afad94378
2 changed files with 8 additions and 8 deletions

View File

@@ -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 = ""