#716 dav4rack -> planio/dav4rack

This commit is contained in:
Karel Picman 2018-02-01 14:06:45 +01:00
parent 1cf2c5cd8e
commit 0948a2514b
2 changed files with 4 additions and 1 deletions

View File

@ -27,7 +27,7 @@ gem 'zip-zip'
gem 'simple_enum' gem 'simple_enum'
gem 'uuidtools' gem 'uuidtools'
#gem 'dav4rack' #gem 'dav4rack'
gem 'dav4rack', git: 'https://github.com/planio-gmbh/dav4rack.git', branch: 'master' gem 'dav4rack', git: 'https://github.com/picman/dav4rack.git', branch: 'master'
gem 'dalli' gem 'dalli'
unless %w(easyproject easy_gantt).any? { |plugin| Dir.exist?(File.expand_path("../../#{plugin}", __FILE__)) } unless %w(easyproject easy_gantt).any? { |plugin| Dir.exist?(File.expand_path("../../#{plugin}", __FILE__)) }
gem 'redmine_extensions', '~> 0.2.5' gem 'redmine_extensions', '~> 0.2.5'

View File

@ -44,6 +44,9 @@ module RedmineDmsf
status, headers, body = @dav_app.call env status, headers, body = @dav_app.call env
rescue Exception => e rescue Exception => e
Rails.logger.error e.message Rails.logger.error e.message
status = e
headers = {}
body = ['']
end end
# If the URL map generated by Rack::Builder did not find a matching path, # If the URL map generated by Rack::Builder did not find a matching path,
# it will return a 404 along with the X-Cascade header set to 'pass'. # it will return a 404 along with the X-Cascade header set to 'pass'.