diff options
author | Seth Chisamore <schisamo@opscode.com> | 2011-12-16 12:42:17 -0500 |
---|---|---|
committer | Seth Chisamore <schisamo@opscode.com> | 2011-12-16 12:42:17 -0500 |
commit | c9eb0082179fdeaaced80dacf4dc8df67ae30817 (patch) | |
tree | defa2066b04d1bdbe6cbb7a264ad814f0b9f55a3 /lib | |
parent | cc948ed6f39229032a9aa2d26c77c5379b373e58 (diff) | |
download | mixlib-shellout-c9eb0082179fdeaaced80dacf4dc8df67ae30817.tar.gz |
exceptions are in the Mixlib::ShellOut namespace not Chef::Exceptions!!
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mixlib/shellout/windows.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mixlib/shellout/windows.rb b/lib/mixlib/shellout/windows.rb index 1f5ac83..89bdc22 100644 --- a/lib/mixlib/shellout/windows.rb +++ b/lib/mixlib/shellout/windows.rb @@ -90,7 +90,7 @@ module Mixlib when WAIT_TIMEOUT # Kill the process if (Time.now - start_wait) > timeout - raise Chef::Exceptions::CommandTimeout, "command timed out:\n#{format_for_exception}" + raise Mixlib::ShellOut::Exceptions::CommandTimeout, "command timed out:\n#{format_for_exception}" end consume_output(open_streams, stdout_read, stderr_read) |