Don't allow _itemDone to throw

This commit is contained in:
Simon Kornblith 2012-03-12 23:57:58 -04:00
parent bb0e894c27
commit cd7d2e9975

View file

@ -548,7 +548,8 @@ Zotero.Translate.Sandbox = {
}
if(!item.title) {
throw new Error("No title specified for item");
translate.complete(false, new Error("No title specified for item"));
return;
}
// create short title