Skip to content

Commit

Permalink
Merge pull request #1491 from a-know/fix-typo-logging
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
repeatedly committed Mar 7, 2017
2 parents 297df6e + 47a147f commit 9618ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fluent/root_agent.rb
Expand Up @@ -173,7 +173,7 @@ def shutdown # Fluentd's shutdown sequence is stop, before_shutdown, shutdown, a
log.debug "calling #{method} on #{kind} plugin", type: Plugin.lookup_type_from_class(instance.class), plugin_id: instance.plugin_id
instance.send(method) unless instance.send(checker)
rescue Exception => e
log.warn "unexpected error while calling #{method} on #{kind} plugin", pluguin: instance.class, plugin_id: instance.plugin_id, error: e
log.warn "unexpected error while calling #{method} on #{kind} plugin", plugin: instance.class, plugin_id: instance.plugin_id, error: e
log.warn_backtrace
end
end
Expand Down

0 comments on commit 9618ca1

Please sign in to comment.