kopia lustrzana https://github.com/c9/core
Fix +9672 ugly error
rodzic
c8163f99fb
commit
f1f24f1bc3
|
@ -246,6 +246,8 @@ define(function(require, exports, module) {
|
|||
function showVfsError(err) {
|
||||
switch (err.action) {
|
||||
case "dashboard":
|
||||
if (/Permission denied \(public key/.test(err.message))
|
||||
err.message = "SSH permission denied. Please review your workspace configuration.";
|
||||
return showAlert("Workspace Error", "Unable to access your workspace", err.message, function() {
|
||||
window.location = dashboardUrl;
|
||||
});
|
||||
|
|
Ładowanie…
Reference in New Issue