fix: raise error when task not found
test / test (push) Successful in 40s

This commit is contained in:
2026-10-22 23:43:15 +03:00
parent e54d8dd23f
commit cc2d62c22b
+2
View File
@@ -52,6 +52,8 @@ class ProjectManager:
except:
self._logger.exception(entry)
counter[ResultType.FAILED] += 1
if not counter:
raise RuntimeError(f'Task not found "{key}"')
self._logger.info(
"%s", "\n".join(f"{RESULT_ICONS[k]} {v}" for k, v in counter.items())
)