mirror of
https://github.com/anteo/redmine_custom_workflows.git
synced 2026-01-26 00:04:20 +00:00
production.log #295
This commit is contained in:
parent
5f9c90a878
commit
04a2bbcaa2
@ -101,7 +101,7 @@ class CustomWorkflow < ActiveRecord::Base
|
||||
object.errors.add :base, e.message
|
||||
false
|
||||
rescue Exception => e
|
||||
Rails.logger.error "== Custom workflow exception: #{e.message}\n #{e.backtrace.join("\n ")}"
|
||||
Rails.logger.error "== Custom workflow #{name}, ##{id} exception: #{e.message}\n #{e.backtrace.join("\n ")}"
|
||||
object.errors.add :base, :custom_workflow_error
|
||||
false
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user