actions: When action errors out, log a better message

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2024-03-09 11:22:05 -05:00
1 parent 1274ffdf87
commit 3a7dd4e812
2 files changed
+42 -4

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ def fixture_popen():
popen.called_with_write_fd.append(write_fd)
os.write(write_fd, bytes(popen.return_value, encoding='utf-8'))
proc = Mock()
proc.communicate.return_value = ('', '')
proc.communicate.return_value = (b'', b'')
proc.returncode = 0
return proc