Remove distracting DataDog errors on bibdata-staging #1921
Labels
documentation
Changes only affect the documentation
maintenance
Ticket related to maintenance that needs to be done
When working on the servers (both staging and production), running rake tasks or in the rails console, DataDog raises a long error and info. It does not appear to have an impact on the code you're running, but it makes debugging more difficult, because you can't scroll through the history easily, and it makes actual errors much less visible.
Expected behavior
When you ssh onto a server, you can:
bundle exec rails c
and then work within the console without raising a DataDog errorActual behavior
Outputs a very very long error message, which can mask if an actual error occurs
Steps to replicate
ssh deploy@bibdata-alma-worker-staging1
cd /opt/bibdata/current
bundle exec rails c
User.find_by
taskImpact of this bug
This makes seeing and debugging issues while running rake tasks difficult. This has a particular impact on the re-indexing rake tasks, since they are run by humans on the servers, and knowing whether or not a true error has occurred is important.
Implementation notes
The text was updated successfully, but these errors were encountered: