Skip to content

Commit

Permalink
Fix reference to InstagramRatelimitError.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansundin committed Jan 15, 2021
1 parent c7cf1f9 commit 3e490cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/10-backtrace-silencer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def backtrace
# If this function is called from Sinatra, then we want to return a partial backtrace in order to print fewer lines to stdout
if caller_locations(1,1)[0].path.end_with?("/lib/sinatra/base.rb")
# For some errors, we don't care about the stack trace at all
if exception.is_a?(InstagramRatelimitError)
if exception.is_a?(App::InstagramRatelimitError)
return []
end
# Otherwise, remove all lines from files in the bundle directory
Expand Down

0 comments on commit 3e490cc

Please sign in to comment.