Improve warning

smf-sdk
Lennart kats 2015-12-29 12:31:22 +00:00
rodzic c6cf5e23fb
commit 3b0c9f0151
1 zmienionych plików z 1 dodań i 1 usunięć

2
node_modules/c9/urls.js wygenerowano vendored
Wyświetl plik

@ -89,7 +89,7 @@ function getBaseUrl(req, sourceBaseUrlPattern, targetBaseUrlPattern) {
targetHost = hostMatch[1];
}
else {
console.error(new Error("Could not construct URL: request host " + sourceHost + " should match " + sourceBaseUrlPattern));
console.trace("Warning: could not construct URL: request host " + sourceHost + " should match " + sourceBaseUrlPattern + "; falling back to c9.io");
targetHost = "c9.io";
}