bin/gush in gush-0.0.1 vs bin/gush in gush-0.1
- old
+ new
@@ -7,6 +7,12 @@
# add self to libpath
$:.unshift File.expand_path("../../lib", bin_file)
require 'gush'
-Gush::CLI.start(ARGV)
+begin
+ Gush::CLI.start(ARGV)
+rescue Gush::WorkflowNotFound
+ puts "Workflow not found".red
+rescue Gush::DependencyLevelTooDeep
+ puts "Dependency level too deep. Perhaps you have a dependency cycle?".red
+end