diff options
author | anekos | 2012-03-31 19:23:12 +0900 |
---|---|---|
committer | anekos | 2012-03-31 19:23:12 +0900 |
commit | e8deb13c9b46e0c465b245cac6f3ae8fdb54da59 (patch) | |
tree | a7f75d39f59de85d807a5aec01259631066e18fc | |
parent | f3d555f39226c9ad0b9398b291607aaa874c0011 (diff) | |
download | vimperator-plugins-e8deb13c9b46e0c465b245cac6f3ae8fdb54da59.tar.bz2 |
途中のサービスでエラーが起きても継続する
-rw-r--r-- | direct_bookmark.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/direct_bookmark.js b/direct_bookmark.js index b4b62e0..602b829 100644 --- a/direct_bookmark.js +++ b/direct_bookmark.js @@ -718,13 +718,15 @@ for Migemo search: require XUL/Migemo Extension user,password,
isNormalize ? getNormalizedPermalink(url) : url,title,
comment,tags
- //));
- ));
+ ));
if(echoType == "multiline") {
d = d.next(function(){
liberator.echo("[" + services[service].description + "] post completed.");
});
}
+ d = d.error(function() {
+ liberator.echoerr(services[service].description + ": failed");
+ });
});
if(echoType == "simple") {
d = d.next(function(){
|