# File lib/chef/knife.rb, line 403 def run_with_pretty_exceptions unless self.respond_to?(:run) ui.error "You need to add a #run method to your knife command before you can use it" end enforce_path_sanity run rescue Exception => e raise if Chef::Config[:verbosity] == 2 humanize_exception(e) exit 100 end