assign approver on failed bulk update requests to fix nil error
This commit is contained in:
@@ -40,6 +40,7 @@ class BulkUpdateRequest < ActiveRecord::Base
|
||||
update_forum_topic_for_approve
|
||||
|
||||
rescue Exception => x
|
||||
self.approver = approver
|
||||
message_approver_on_failure(x)
|
||||
update_topic_on_failure(x)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user