Commit cd5bac66 authored by Omar Chehab's avatar Omar Chehab

Fix port scan failing message

parent 18864e60
......@@ -150,7 +150,8 @@ credentialsTab.addEventListener('submit', async function(event) {
if (targetUrl) {
resolve(targetUrl);
} else {
throw new Error('Scanned ports 50000 to 65535, Manager app was not found.');
reject(new Error('Scanned ports 50000 to 65535, Manager app was not found.'));
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment