nodejs-error-reporting icon indicating copy to clipboard operation
nodejs-error-reporting copied to clipboard

Only try to authenticate if reporting is enabled.

Open rhodgkins opened this issue 3 years ago • 2 comments

When running this package locally with reportMode: 'never' which prevents any reporting but we still get an console message about not being able to find credential information because when creating the error reporting client authentication is still attempted.

Would it be possible for a similar check be put in before attempting this (both API key and obtaining an access token)?

rhodgkins avatar Mar 31 '21 15:03 rhodgkins

This is a really good suggestion & I dont see tradeoffs off the bat. We should add it to this library & short-circuit auth in this case.

0xSage avatar May 06 '21 08:05 0xSage

any progress with this?

spaghettiguru avatar Oct 17 '21 12:10 spaghettiguru

Hey APIs team, it's been a long time without this and #460 :)

filipecatraia avatar Sep 13 '22 12:09 filipecatraia