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

Extraneous certifier logging #4548

Closed
jacogr opened this issue Feb 15, 2017 · 0 comments
Closed

Extraneous certifier logging #4548

jacogr opened this issue Feb 15, 2017 · 0 comments
Labels
F3-annoyance 💩 The client behaves within expectations, however this “expected behaviour” itself is at issue.

Comments

@jacogr
Copy link
Contributor

jacogr commented Feb 15, 2017

Dev console fills up with warning logs -

Error: Certifier 0 does not exist.
(anonymous) @ middleware.js:183
middleware.js:183 Error: Certifier 1 does not exist.
(anonymous) @ middleware.js:183
middleware.js:183 Error: Certifier 2 does not exist.
(anonymous) @ middleware.js:183
middleware.js:183 Error: Certifier 3 does not exist.
(anonymous) @ middleware.js:183
middleware.js:183 Error: Certifier 4 does not exist.
(anonymous) @ middleware.js:183
middleware.js:183 Error: Certifier 6 does not exist.
(anonymous) @ middleware.js:183
middleware.js:183 Error: Certifier 7 does not exist.
(anonymous) @ middleware.js:183
middleware.js:183 Error: Certifier 10 does not exist.
(anonymous) @ middleware.js:183
middleware.js:183 Error: Certifier 11 does not exist.

from

.catch((err) => {
                  if (/does not exist/.test(err.toString())) {
                    return console.warn(err.toString());
                  }

                  console.warn(`Could not fetch certifier ${id}:`, err);
                });

Probably best to squash these "does not exist" errors, the normal error logged afterwards is a worth-while concern.

@jacogr jacogr added F3-annoyance 💩 The client behaves within expectations, however this “expected behaviour” itself is at issue. M7-ui labels Feb 15, 2017
@jacogr jacogr closed this as completed Feb 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
F3-annoyance 💩 The client behaves within expectations, however this “expected behaviour” itself is at issue.
Projects
None yet
Development

No branches or pull requests

1 participant