diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-09 19:45:18 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-09 19:45:18 -0500 |
commit | c31bcece72fad34389ae0f104fd4844b17472916 (patch) | |
tree | 498190a15012f9007efc56ae868c35810f01d040 /lib/pandoc.rb | |
parent | f1b364abf455b3654580718972a77572ca29be02 (diff) |
pandoc: better error messages
Diffstat (limited to 'lib/pandoc.rb')
-rw-r--r-- | lib/pandoc.rb | 2 |
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 |