Add stdout in utf-8.

This commit is contained in:
robinjhuang
2025-01-29 14:47:19 -08:00
parent 5674ae5a5c
commit eb249d9a44
+2 -2
View File
@@ -42,8 +42,8 @@ class NIMManager:
if result.returncode != 0:
error_msg = (
f"Failed to set permissions for {cache_path}:\n"
f"stdout: {result.stdout.decode('ascii')}\n"
f"stderr: {result.stderr.decode('ascii')}"
f"stdout: {result.stdout.decode('utf-8')}\n"
f"stderr: {result.stderr.decode('utf-8')}"
)
raise Exception(error_msg)