kopia lustrzana https://github.com/c9/core
Debugging and reverting mountpoint replace as it breaks things
rodzic
60234377c3
commit
8508b88931
|
@ -11,6 +11,7 @@ module.exports = function setup(mount, vfs, mountOptions) {
|
|||
|
||||
var errorHandler = mountOptions.errorHandler || function (req, res, err, code) {
|
||||
console.error(err.stack || err);
|
||||
console.error("ErrorHandler stack: ", new Error().stack);
|
||||
if (code) res.statusCode = code;
|
||||
else if (err.code === "EBADREQUEST") res.statusCode = 400;
|
||||
else if (err.code === "EACCES") res.statusCode = 403;
|
||||
|
|
|
@ -91,7 +91,7 @@
|
|||
"c9.ide.imgeditor": "#ed89162aa7",
|
||||
"c9.ide.immediate": "#6845a93705",
|
||||
"c9.ide.installer": "#3e6f7a72c9",
|
||||
"c9.ide.mount": "#20339aeeaf",
|
||||
"c9.ide.mount": "#f4e95044e6",
|
||||
"c9.ide.navigate": "#f358997d93",
|
||||
"c9.ide.newresource": "#f1f0624768",
|
||||
"c9.ide.openfiles": "#28a4f5af16",
|
||||
|
|
Ładowanie…
Reference in New Issue