Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
fuckwit12184yHahaha every rails action in my current project has about 3 to 5 rescue blocks attached to it. With the last one always being a rescue on StandardError....
Oh and it didn't report any of those errors. -
fuckwit12184y@Root yep.
smh = user.something rescue ''
Is a way to common pattern in this application. Mind that #something should return an array of strings. So even if the rescue prevented an error the next line
Count = smh.count
Would throw the next error (count on string needs a parameter telling it what to count)
We hooked up sentry to see the errors. Turns out our sentry infrastructure could not handle 30k events an hour with nearly 200kb of data for each event...
Important rule of programming: don't swallow exception and provide details for troubleshooting.
Visual Studio: The project file contains a property value that is not valid.
devrant