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