We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5dfa92f commit c1f5026Copy full SHA for c1f5026
src/renderer/components/ThemeProvider.tsx
@@ -87,8 +87,8 @@ function replaceThemeElement(url?: string) {
87
}
88
});
89
};
90
- newElement.onerror = () => {
91
- console.error('Failed to load theme:', url);
+ newElement.onerror = (err) => {
+ log.warn('Launcher', `Failed to load theme from ${url}: ${err.toString()}`);
92
existingElements.forEach((elem) => {
93
try {
94
elem.remove();
0 commit comments