We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3827b7 commit 627a64cCopy full SHA for 627a64c
server/util/loadInterfaces.js
@@ -58,7 +58,11 @@ const requestInterfaces = async () => {
58
const currentInterface = await config.getValue("interface");
59
60
if (!usableInterfaces[currentInterface]) {
61
- console.warn(`Interface ${currentInterface} not found. Falling back to default.`);
+ if (!currentInterface) {
62
+ console.warn("No interface set. Falling back to default.");
63
+ } else {
64
+ console.warn(`Interface ${currentInterface} not found. Falling back to default.`);
65
+ }
66
await config.updateValue("interface", Object.keys(usableInterfaces)[0]);
67
}
68
0 commit comments