mirror of
https://github.com/discourse/discourse.git
synced 2025-02-17 01:22:44 +08:00
Realign method comment
This commit is contained in:
parent
12cb682548
commit
a69efada85
|
@ -11,7 +11,9 @@ module Discourse
|
||||||
|
|
||||||
# Log an exception.
|
# Log an exception.
|
||||||
#
|
#
|
||||||
# If your code is in a scheduled job, it is recommended to use the error_context() function to pass the context.
|
# If your code is in a scheduled job, it is recommended to use the
|
||||||
|
# error_context() method in Jobs::Base to pass the job arguments and any
|
||||||
|
# other desired context.
|
||||||
# See app/jobs/base.rb for the error_context function.
|
# See app/jobs/base.rb for the error_context function.
|
||||||
def self.handle_exception(ex, context = {}, parent_logger = nil)
|
def self.handle_exception(ex, context = {}, parent_logger = nil)
|
||||||
context ||= {}
|
context ||= {}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user