Skip to content

Commit bcfdb4b

Browse files
committed
Revert : gh #485 : Reverting the decode command back to original
1 parent 907e43b commit bcfdb4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework/core/commandModules/sshConsole.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def read_until(self, value, timeout=10) -> str:
106106
try:
107107
# Read the output from the shell
108108
raw_output = self.shell.recv(4096)
109-
output += raw_output.decode('utf-8', errors='strict')
109+
output += raw_output.decode('utf-8')
110110
except UnicodeDecodeError as e:
111111
self.log.critical(f"UnicodeDecodeError - {e}")
112112
# Fallback to safer decoding of the same raw data without crashing

0 commit comments

Comments
 (0)