lib/appsignal.rb in appsignal-2.3.0.beta.3 vs lib/appsignal.rb in appsignal-2.3.0
- old
+ new
@@ -252,12 +252,12 @@
# Appsignal.send_error(e, :key => "value")
# end
#
# @param error [Exception] The error to send to AppSignal.
# @param tags [Hash{String, Symbol => String, Symbol, Integer}] Additional
- # tags to add to the error. See also {.tag_request}.
- # @param namespace [Exception] The namespace in which the error occurred.
+ # tags to add to the error. See also {.tag_request}.
+ # @param namespace [String] The namespace in which the error occurred.
# See also {.set_namespace}.
# @return [void]
#
# @see http://docs.appsignal.com/ruby/instrumentation/exception-handling.html
# Exception handling guide
@@ -307,9 +307,13 @@
# Appsignal.set_error(e)
# end
# end
#
# @param exception [Exception] The error to add to the current transaction.
+ # @param tags [Hash{String, Symbol => String, Symbol, Integer}] Additional
+ # tags to add to the error. See also {.tag_request}.
+ # @param namespace [String] The namespace in which the error occurred.
+ # See also {.set_namespace}.
# @return [void]
#
# @see Transaction#set_error
# @see http://docs.appsignal.com/ruby/instrumentation/exception-handling.html
# Exception handling guide