cat: improved error handling

This commit is contained in:
mercierc
2021-07-21 15:22:08 +12:00
parent 747f3efbb2
commit 0b4283bb58

View File

@ -134,7 +134,11 @@ def run(config):
rep = repr(entry)
output_0.write(str2bytes(rep)+b"\n")
else:
o_view[i] = entry
try:
o_view[i] = entry
except:
print("\nError with entry:", repr(entry))
print(repr(o_view))
i+=1
v.close()