From f24a2b9eaf968dd31c614c626888aa8e6e6cfebc Mon Sep 17 00:00:00 2001 From: murphy Date: Tue, 18 May 2010 05:48:42 +0000 Subject: Improved error message for unknown token content type. --- lib/coderay/encoder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/coderay/encoder.rb') diff --git a/lib/coderay/encoder.rb b/lib/coderay/encoder.rb index 716f516..6e32e75 100644 --- a/lib/coderay/encoder.rb +++ b/lib/coderay/encoder.rb @@ -127,7 +127,7 @@ module CodeRay when :end_line end_line kind else - raise 'Unknown token content type: %p' % [content] + raise 'Unknown token content type: %p, kind = %p' % [content, kind] end end -- cgit v1.2.1