From a69efada858a50fbe86b5c053824498ad3d1e086 Mon Sep 17 00:00:00 2001 From: riking <rikingcoding@gmail.com> Date: Thu, 17 Jul 2014 15:07:25 -0700 Subject: [PATCH] Realign method comment --- lib/discourse.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/discourse.rb b/lib/discourse.rb index 5184dacbb..fccfa066b 100644 --- a/lib/discourse.rb +++ b/lib/discourse.rb @@ -11,7 +11,9 @@ module Discourse # 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. def self.handle_exception(ex, context = {}, parent_logger = nil) context ||= {}