From ecc9349c85dd24c11e4b0b49d3e4306551bff69a Mon Sep 17 00:00:00 2001 From: Andy Kipp Date: Fri, 3 May 2024 00:12:46 +0200 Subject: [PATCH] Update __init__.py --- xontrib/pipeliner/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xontrib/pipeliner/__init__.py b/xontrib/pipeliner/__init__.py index a0f7e4d..bf1e3ce 100644 --- a/xontrib/pipeliner/__init__.py +++ b/xontrib/pipeliner/__init__.py @@ -55,7 +55,7 @@ def _pl(args, stdin, stdout): try: res = fn(line.rstrip(os.linesep), num) except: - print_color('{YELLOW}' + f'Error line {num+1}: {line}', file=sys.stderr) + print_color('{YELLOW}' + f'Error line {num+1}: {line!r}', file=sys.stderr) print_color('{YELLOW}' + str(traceback.format_exc()), file=sys.stderr) return num += 1