Closed karr-lab-daemon closed 3 years ago
This seems fine now. It seems that the REST API occasionally returns malformed data. I pushed a commit to try to handle these cases: e796c6eebd958022360036a4e915860a65483ce6.
Comment from Airbrake: Resolved error reoccurred.
This error is an old Netlify preview: https://5eefe4ccb11f51000794e165--datanator.netlify.app/search/atp%20/Escherichia%20coli%20E1002/
I'm not sure how someone found this. I'm going to see if we can close this old previews automatically. I'm also going to see if we can filter our errors from old previews in AirBrake.
I believe Netlify previews last forever.
To filter out errors from old versions, I bumped the version of the frontend to 0.2.0 and set AirBrake to ignore errors from versions less than this.
Airbrake error: #9668 Airbrake project: datanator_frontend
Error type:
TypeError
Error message:Cannot read property 'join' of undefined
Where:<no information>
Occurred at: Sep 21, 2020 03:16:50 UTC First seen at: Sep 21, 2020 03:16:50 UTC Occurrences: 0 (0 since last deploy on Sep 16, 2020 01:46:22 UTC) Severity:error
URL: https://5eefe4ccb11f51000794e165--datanator.netlify.app/search/atp%20/Escherichia%20coli%20E1002/ File:
https://5eefe4ccb11f51000794e165--datanator.netlify.app/static/js/scenes/SearchResults/ReactionSearchResultsList.js
Backtrace: