removed console.log + better reject message

This commit is contained in:
danis
2023-01-28 20:30:59 +03:00
committed by Clément Le Bihan
parent 0fd64bfba0
commit 6cca70a290

View File

@@ -509,8 +509,7 @@ export default class API {
});
}
} catch (error) {
console.error(error);
return reject("something went wrong: unable to update");
return reject("something went wrong: unable to update the " + dataKey);
}
}, 1000);