summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGubolin <gubolin@fantasymail.de>2014-10-04 13:47:06 +0200
committerGubolin <gubolin@fantasymail.de>2014-10-04 13:47:06 +0200
commit5977686aa255e59a9b56703621c15ffa0cf04267 (patch)
tree037267baa9bad3ecfb1e8ce73dd002e164d48525
parent45e1f3193b6a0593f084df28ee3d8f194bcea448 (diff)
downloadsnap-5977686aa255e59a9b56703621c15ffa0cf04267.tar.gz
snap-5977686aa255e59a9b56703621c15ffa0cf04267.zip
show an error message if project cannot be loaded (fix #190)issue_190
-rw-r--r--gui.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui.js b/gui.js
index 2456277..901a73e 100644
--- a/gui.js
+++ b/gui.js
@@ -284,7 +284,8 @@ IDE_Morph.prototype.openIn = function (world) {
}
throw new Error('unable to retrieve ' + url);
} catch (err) {
- return;
+ myself.showMessage('unable to retrieve project');
+ return '';
}
}