Turn off reporting this meaningless warning to Rollbar #2046
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context
Rollbar is kind of unusable right now if you don't filter out warnings, because we send a
ActiveStorage::UnrepresentableError
warning every time someone views an item that has a file as its "logo" which isn't able to be turned into a thumbnail. The problem is that this is in almost all cases totally normal – we know that you can't thumbnail an Excel Spreadsheet, and we have a fallback to display a generic logo for these cases, so this doesn't need to be reported.What's New
Tell Rollbar gem to stop reporting this error.
Other Options
I'm also somewhat tempted to remove this:
jupiter/app/helpers/page_layout_helper.rb
Lines 52 to 53 in 34b64ff
which warns when a jpg or png or whatever can't be thumbnailed because it's unparseable/corrupted – this is a real error, but there's really nothing we can or do do to resolve this, so it just seems like noise. Thoughts?