diff --git a/api/tacticalrmm/checks/models.py b/api/tacticalrmm/checks/models.py index 143d6cc2..14493f19 100644 --- a/api/tacticalrmm/checks/models.py +++ b/api/tacticalrmm/checks/models.py @@ -532,7 +532,10 @@ class Check(BaseAuditModel): elif self.check_type == "script": - body = subject + f" - Return code: {self.retcode}, Error: {self.stderr}" + body = ( + subject + + f" - Return code: {self.retcode}\nStdout:{self.stdout}\nStderr: {self.stderr}" + ) elif self.check_type == "ping":