You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From what I see this seems to happen because there are pending requests, we are calling .close() and the request manager crashes.
Because we are ending everything I think it should be enough with having a try/catch in the .close() method. At this point of the execution we don't care what happens to the collector next.
If we deactivate all or almost all the rules and the option for the collector 'waitFor' is low, then we receive an error running sonar.
Steps to reproduce:
npm run site -- https://developer.microsoft.com/en-us/microsoft-edge/
Expected:
Sonar report some warnings with
x-content-type-options
and returns with status code 0Actual
Sonar report some errors with
x-content-type-options
and throw an expection:The text was updated successfully, but these errors were encountered: