@@ -38,7 +38,7 @@ module AgentControllerConcern |
||
38 | 38 |
target.update!(disable: true) unless target.disabled? |
39 | 39 |
end |
40 | 40 |
rescue => e |
41 |
- log "Failed to #{control_action} '#{target.name}': #{e.message}" |
|
41 |
+ error "Failed to #{control_action} '#{target.name}': #{e.message}" |
|
42 | 42 |
end |
43 | 43 |
} |
44 | 44 |
end |