lib/application.rb in docman-0.0.85 vs lib/application.rb in docman-0.0.86
- old
+ new
@@ -34,10 +34,11 @@
require 'docman/commands/git_repo_provider_cmd'
require 'docman/commands/nexus_provider_cmd'
require 'docman/taggers/tagger'
require 'docman/taggers/incremental_tagger'
require 'docman/taggers/option_tagger'
+require 'docman/taggers/source_tagger'
module Docman
class Application < Docman::Command
attr_reader :config, :docroot_config
@@ -70,10 +71,10 @@
FileUtils.rm_f failed_filepath
@force = true
end
yield
rescue Exception => e
- log "Operation failed: #{e.message}", 'error'
+ puts "Operation failed: #{e.message}", 'error'
if write_to_file
File.open(failed_filepath, 'w') {|f| f.write(e.message) }
end
raise e
end