Skip to content

Commit

Permalink
log error details #590
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Jul 24, 2020
1 parent 5e43a10 commit 7a13740
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/initializers/mime_types.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@
else
obj.send(f)
end
rescue TypeError => e
Rails.logger.error e.message
Rails.logger.error obj.inspect
end
end

Expand Down

0 comments on commit 7a13740

Please sign in to comment.