Auto-reset in case of unhandled delete conflict

This commit is contained in:
Dan Stillman 2010-02-04 14:39:40 +00:00
parent 0750f49bb0
commit 9b4eb42c29

View File

@ -2581,8 +2581,9 @@ Zotero.Sync.Server.Data = new function() {
break;
default:
alert('Delete reconciliation unimplemented for ' + types);
throw ('Delete reconciliation unimplemented for ' + types);
var msg = 'Cannot reconcile delete conflict for ' + type;
var e = new Zotero.Error(msg, "FULL_SYNC_REQUIRED");
throw (e);
}
}
}