diff options
Diffstat (limited to 'pygments/__init__.py')
-rw-r--r-- | pygments/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pygments/__init__.py b/pygments/__init__.py index c94e058c..de871fe0 100644 --- a/pygments/__init__.py +++ b/pygments/__init__.py @@ -267,6 +267,7 @@ The -V option prints the package version. try: highlight(code, lexer, fmter, outfile) except Exception, err: + raise print >>sys.stderr, 'Error while highlighting:', err return 1 return 0 |