kopia lustrzana https://github.com/c9/core
fix crash in standalone
rodzic
6d8530e05e
commit
85d179ea43
|
@ -212,7 +212,8 @@ define(function(require, exports, module) {
|
||||||
} else if (body.indexOf("ENOENT") !== -1 || statusCode == 404) {
|
} else if (body.indexOf("ENOENT") !== -1 || statusCode == 404) {
|
||||||
next(new error.NotFound("File '" + path + "' could not be found!"));
|
next(new error.NotFound("File '" + path + "' could not be found!"));
|
||||||
} else {
|
} else {
|
||||||
delete req.session.ws[req.ws];
|
if (req.session.ws)
|
||||||
|
delete req.session.ws[req.ws];
|
||||||
|
|
||||||
var json;
|
var json;
|
||||||
try {
|
try {
|
||||||
|
|
Ładowanie…
Reference in New Issue