Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Review console errors #1650

Closed
tschubotz opened this issue Nov 25, 2020 · 9 comments · Fixed by #1709
Closed

Review console errors #1650

tschubotz opened this issue Nov 25, 2020 · 9 comments · Fixed by #1709
Assignees

Comments

@tschubotz
Copy link
Member

Context

  • We have quite some console errors.
  • Some are from inside our code, some are from external code.
  • Some are crashes, some are http 40X codes.
  • This makes it hard for QA and any user to detect actual errors.
  • In the weekly meeting on Nov 25, we discussed to first review the existing errors before asking QA to report them 1by1.

Task

  • Please review existing common console errors we have and check whether they can be silenced or fixed.
  • Examples:

image.png
image.png
image.png

Open question

  • What about warnings?
    image.png
    image.png
@nicosampler
Copy link
Contributor

I've been able to remove some warnings, some other seems to be related to libraries we are using.
@tschubotz @francovenica
Regarding the errors, do we have tracking of when they araise?

@tschubotz
Copy link
Member Author

Regarding the errors, do we have tracking of when they araise?

@nicosampler not sure I understand your question. We have sentry, but we have no other tracking for errors.

@nicosampler
Copy link
Contributor

I mean github tickets

@tschubotz
Copy link
Member Author

I'm not aware of any besides #1658 . Feel free to open separate new ones.

@nicosampler
Copy link
Contributor

These are the warning I think are coming from an external lib and there is nothing we can do.
image

@tschubotz
Copy link
Member Author

"networkChanged" could perhaps come from onboard.js. https://github.com/blocknative/onboard/search?q=networkChanged

@nicosampler
Copy link
Contributor

nicosampler commented Dec 11, 2020

@tschubotz @francovenica as we talked about before, I could not reproduce some errors.. so if they appear again, we will create independent tickets to handle them properly.

@dasanra @fernandomg and I have been talking about the possibility to change some code response numbers in the backend in cases where no data was found (instead of 400 a 204). So the browser does not log these requests as errors.
@Uxio0 what do you think?

@Uxio0
Copy link
Member

Uxio0 commented Dec 14, 2020

@Uxio0 what do you think?

Currently I think I'm returning 200 for everything (204 should be only as a response for requests modifying content). Only case you get a 404 is if you try to get a Safe that it does not exist, and I won't change that for a 200. Do you see another endpoint with this behaviour?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants