Skip to content

Commit

Permalink
Document listen_for_error deprecation in API docs
Browse files Browse the repository at this point in the history
Make sure it's documented in the API docs as deprecated as well. In case
we do another release before 4.0, this can be included.

[skip changeset]
  • Loading branch information
tombruijn committed Aug 5, 2024
1 parent d4ece27 commit a65f285
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/appsignal/helpers/instrumentation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,10 @@ def monitor_single_transaction(name, env = {}, &block)
# @see .send_error
# @see https://docs.appsignal.com/ruby/instrumentation/integrating-appsignal.html
# AppSignal integration guide
# @see https://docs.appsignal.com/ruby/instrumentation/exception-handling.html
# Exception handling guide
#
# @deprecated Use `rescue => error` with {.report_error} instead.
# @param tags [Hash, nil]
# @param namespace [String] the namespace for this error.
# @yield yields the given block.
Expand Down

0 comments on commit a65f285

Please sign in to comment.