mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00
[Fix] Fix lark reporter issue (#1769)
This commit is contained in:
parent
111f817e04
commit
9a5adbde6a
@ -335,7 +335,7 @@ class DLCRunner(BaseRunner):
|
||||
pass
|
||||
|
||||
# Lark Report when failed
|
||||
if return_code == -1:
|
||||
if return_code == -1 and self.lark_reporter is not None:
|
||||
content = f'DLC job failed. Task name: {task_name}'
|
||||
self.lark_reporter.post(title='DLC job failed', content=content)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user