Skip to content

Commit 668bed4

Browse files
authored
Merge pull request #106 from mpcsh/fix-stdout-error-output
Fixed LSP message pollution by URL fetch failures
2 parents 2965b13 + 66d4b53 commit 668bed4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/tall-tomatoes-occur.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"css-variables-language-server": patch
3+
---
4+
5+
Fixed LSP message pollution by URL fetch failures

packages/css-variables-language-server/src/CSSVariableManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export default class CSSVariableManager {
110110
filePath: url,
111111
});
112112
} catch (err) {
113-
console.log(err, `cannot fetch data from ${url}`);
113+
console.error(err, `cannot fetch data from ${url}`);
114114
}
115115
})
116116
);

0 commit comments

Comments
 (0)