lib/percheron/commands/shell.rb in percheron-0.7.1 vs lib/percheron/commands/shell.rb in percheron-0.7.2

- old
+ new

@@ -8,9 +8,11 @@ option('--shell', 'SHELL', 'Shell to use', default: Percheron::Actions::Shell::DEFAULT_SHELL) def execute super stack.shell!(container_name, shell: shell) + rescue Errors::DockerClientInvalid => e + signal_usage_error(e.message) end end end end