summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/rdoc/code_objects.rb
diff options
context:
space:
mode:
authorBrice Figureau <brice-puppet@daysofwonder.com>2009-11-10 17:57:26 +0100
committerJames Turnbull <james@lovedthanlost.net>2009-11-12 08:08:04 +1100
commit391786f0b43e514d58336f465bc53fb7a5c34884 (patch)
tree0d90f61a792b47075b07064fedcce6e9a9dd68be /lib/puppet/util/rdoc/code_objects.rb
parentb832d815c3211f22945cbce56dfbf61116f7a792 (diff)
downloadpuppet-391786f0b43e514d58336f465bc53fb7a5c34884.tar.gz
puppet-391786f0b43e514d58336f465bc53fb7a5c34884.tar.xz
puppet-391786f0b43e514d58336f465bc53fb7a5c34884.zip
Fix #2795 - puppetdoc rdoc reports a better error message
When puppetdoc rdoc dies with an unhandled exception, the error message produced didn't mention the file and line where the parser choked. This patch fixes this by trying to locate on which AST structure the rdoc system failed. Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'lib/puppet/util/rdoc/code_objects.rb')
0 files changed, 0 insertions, 0 deletions