lib/docman/git_util.rb in docman-0.0.12 vs lib/docman/git_util.rb in docman-0.0.13

- old
+ new

@@ -8,10 +8,10 @@ def self.exec(command) @logger.info command result = `#{command}`.delete!("\n") @logger.info result if result - raise result unless $?.exitstatus == 0 + raise "ERROR: #{result}" unless $?.exitstatus == 0 result end def self.reset_repo(path) Dir.chdir path \ No newline at end of file