summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/pandoc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pandoc.rb b/lib/pandoc.rb
index f0bf3f6..8c51cb4 100644
--- a/lib/pandoc.rb
+++ b/lib/pandoc.rb
@@ -89,7 +89,7 @@ module Pandoc
when "Para"
js["c"].map{|c| js2sane(c)}.join()
else
- throw js["t"]
+ raise "Unexpected AST node type '#{js["t"]}'"
end
end
end