Skip to content
Browse files

Better error detail

  • Loading branch information...
1 parent 671d395 commit ec8dce5a34c978a64e4c5eef74643b4624f13af7 @tnm committed Jul 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/pygments/popen.rb
View
2 lib/pygments/popen.rb
@@ -256,7 +256,7 @@ def mentos(method, args=[], kwargs={}, code=nil)
rescue Errno::EPIPE, EOFError
# Pipe error or end-of-file error, raise
stop
- raise MentosError.new
+ raise MentosError.new("EPIPE")
end
def get_fixed_bits_from_header(out_header)

0 comments on commit ec8dce5

Please sign in to comment.
Something went wrong with that request. Please try again.