imp:errors: decode failures now also mention a possible CSV encoding [#2465]
This commit is contained in:
parent
6fc3e85c2b
commit
b5f954abf5
@ -341,7 +341,8 @@ handleExit = flip catches [
|
||||
noencoding = map toLower enc == "ascii"
|
||||
msg = unlines $ [
|
||||
rstrip $ show ex
|
||||
, "Some text could not be decoded with the system text encoding, " <> enc <> "."
|
||||
, "Some text could not be decoded with the system's text encoding, " <> enc
|
||||
, "(or if CSV rules specified it, the CSV's text encoding)."
|
||||
] ++
|
||||
if noencoding
|
||||
then [
|
||||
|
||||
Loading…
Reference in New Issue
Block a user