Replies: 1 comment 2 replies
-
|
No, we don't want debug logging to raise errors. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
At the moment of creating this discussion,
Rails.loggeris being used in 8 files. Sinceraisehas been extensively used already, would it be OK for me to create a PR to replaceRails.loggerwithraises?For example, it took us ages to find out that an admin created a customer via our admin panel, which seems to fail to trigger
#pay_customer:pay/app/jobs/pay/customer_sync_job.rb
Line 6 in ec4e870
If
raisewas used in this part, it would make catching this error trivial. Also,CustomerSyncJobseems too critical to not toraiseanything.What do you think? Agreed or not? If not, any suggestions to handle the
rescuelogic? Thanks! :)Beta Was this translation helpful? Give feedback.
All reactions