Commit 212ca784 authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-840 Catch StateInvalidException when in partial mode.

Released under the Affero GNU General Public License (AGPL) version 3.
parent e756ecd2
......@@ -566,9 +566,9 @@ class Sync extends RequestProcessor {
try {
$sc->LoadAllCollections(false, true, true);
}
catch (StateNotFoundException $snfex) {
catch (StateInvalidException $snfex) {
$status = SYNC_STATUS_INVALIDSYNCKEY;
self::$topCollector->AnnounceInformation("StateNotFoundException", true);
self::$topCollector->AnnounceInformation("StateInvalidException", true);
}
catch (StatusException $stex) {
$status = SYNC_STATUS_FOLDERHIERARCHYCHANGED;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment