We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6caa2c commit b367303Copy full SHA for b367303
src/background/sync-manager.js
@@ -181,7 +181,8 @@ export async function syncNow() {
181
182
function initController() {
183
return dbToCloud({
184
- onGet: _id => getByUuid(_id) || uuidIndex.custom[_id],
+ onGet: _id => getByUuid(_id) || uuidIndex.custom[_id]
185
+ || Promise.reject('No such style UUID: ' + _id),
186
async onPut(doc) {
187
if (!doc) return; // TODO: delete it?
188
const id = uuidIndex.get(doc._id);
0 commit comments