mirror of
https://github.com/ditkrg/workflower.git
synced 2026-01-22 22:26:40 +00:00
Refine error logging in manager.rb to simplify error output during transition failures
This commit is contained in:
parent
94b23d46b7
commit
c69f4752c1
@ -63,7 +63,7 @@ module Workflower
|
||||
true
|
||||
rescue Exception => e
|
||||
puts "ERROR MESSAGE: #{e.message}"
|
||||
puts "ERROR CLASS: #{e}"
|
||||
puts "ERROR: #{e}"
|
||||
@calling_model.errors.add(@calling_model.workflower_state_column_name, :transition_faild)
|
||||
false
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user