better log for debug

This commit is contained in:
lingdocs 2022-09-01 19:45:39 +04:00
parent 46d7f45e1a
commit c0d33dd50d
1 changed files with 1 additions and 2 deletions

View File

@ -58,8 +58,7 @@ export async function insertLingdocsUser(user: T.LingdocsUser): Promise<T.Lingdo
return newUser;
} catch(e) {
console.log("ERROR on insertLingdocsUser", user);
console.log(e);
throw new Error("error inserting user");
throw new Error("error inserting user - on update");
}
}