mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
Fix matrix notification always reporting that the app failed everything x_x
This commit is contained in:
parent
b797f46798
commit
d130e12d44
1 changed files with 1 additions and 1 deletions
2
run.py
2
run.py
|
@ -744,7 +744,7 @@ async def run_job(worker, job):
|
|||
job_id_with_url = f"[#{job.id}]({job_url})"
|
||||
if job.state == "error":
|
||||
msg = f"Job {job_id_with_url} for {job_app} failed miserably :("
|
||||
elif not level == 0:
|
||||
elif level == 0:
|
||||
msg = f"App {job_app} failed all tests in job {job_id_with_url} :("
|
||||
elif public_level is None:
|
||||
msg = f"App {job_app} rises from level (unknown) to {level} in job {job_id_with_url} !"
|
||||
|
|
Loading…
Add table
Reference in a new issue