kopia lustrzana https://github.com/c9/core
Improve warning
rodzic
c6cf5e23fb
commit
3b0c9f0151
|
@ -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";
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue