Fix error log when dismissing SyncPlay action sheet

This commit is contained in:
Bill Thornton
2021-09-01 12:39:01 -04:00
parent 99a3ca1cbd
commit 23d0281ca0
@@ -79,7 +79,9 @@ class GroupSelectionMenu {
});
}
}).catch((error) => {
console.error('SyncPlay: unexpected error listing groups:', error);
if (error) {
console.error('SyncPlay: unexpected error listing groups:', error);
}
});
loading.hide();
@@ -159,7 +161,9 @@ class GroupSelectionMenu {
});
}
}).catch((error) => {
console.error('SyncPlay: unexpected error showing group menu:', error);
if (error) {
console.error('SyncPlay: unexpected error showing group menu:', error);
}
});
loading.hide();