diff --git a/front/API.ts b/front/API.ts index b52c460..96056f7 100644 --- a/front/API.ts +++ b/front/API.ts @@ -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);