removed console.log + better reject message
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user