Mercurial > hg > cc > cirrus_work
changeset 238:a4538bdfa92a
fix error message
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Thu, 26 Sep 2024 17:54:12 +0100 |
parents | 567ba6010658 |
children | 992f59d21832 |
files | lib/python/cc/ix.py |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/python/cc/ix.py Thu Sep 26 12:38:34 2024 +0100 +++ b/lib/python/cc/ix.py Thu Sep 26 17:54:12 2024 +0100 @@ -35,8 +35,11 @@ import traceback traceback.print_exc(file=sys.stderr) else: - print("Process fail: %s, input line:\n %s"%(e,l), - file=sys.stderr,end='') + print("Process fail: %s, input:\n length=%s, offset=%s, file=%s"%(e, + length, + offset, + filename), + file=sys.stderr) exit(3) def process0(options,buf,filename,offset,length,whole):