Skip to content
Permalink
Browse files

Change console.error -> warn for failed source fetches ...

... Since these errors are handled, shouldn't be logged as errors.
  • Loading branch information
benvinegar committed Jan 13, 2020
1 parent 1652fe3 commit c7f45dd3c97dd00a7238d37cd585dd69f1a45fba
Showing with 1 addition and 1 deletion.
  1. +1 −1 server/src/lib/validateSourceMap.ts
@@ -184,7 +184,7 @@ function fetchSources(
{ timeout: MAX_TIMEOUT },
(err, response, body) => {
if (err) {
console.error(err);
console.warn('Fetch failure:', err);
}
if (!response || response.statusCode !== 200) {
cb(null, new UnableToFetchSourceError(resolvedUrl));

0 comments on commit c7f45dd

Please sign in to comment.
You can’t perform that action at this time.