diff --git a/README.md b/README.md index d139249..78b421d 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ try do # possibly crashing code rescue exception -> - Tower.handle_exception(exception, __STACKTRACE__) + Tower.report_exception(exception, __STACKTRACE__) end ``` diff --git a/test/tower_rollbar_test.exs b/test/tower_rollbar_test.exs index fd6af98..5d6cdd7 100644 --- a/test/tower_rollbar_test.exs +++ b/test/tower_rollbar_test.exs @@ -457,7 +457,7 @@ defmodule TowerRollbarTest do |> Plug.Conn.resp(200, Jason.encode!(%{"ok" => true})) end) - Tower.handle_message(:info, "something interesting happened") + Tower.report_message(:info, "something interesting happened") assert_receive({^ref, :sent}, 500) end