mirror of https://gitee.com/bigwinds/arangodb
removed useless log output
This commit is contained in:
parent
4f72db6451
commit
593052b1e8
|
|
@ -97,8 +97,6 @@ module.exports = function systemStorage(cfg) {
|
|||
const meta = db._sessions.save(payload);
|
||||
sid = meta._key;
|
||||
session._key = sid;
|
||||
console.log(1);
|
||||
console.log(session._key);
|
||||
break;
|
||||
} catch (e) {
|
||||
if (!e.isArangoError || e.errorNum !== UNIQUE_CONSTRAINT) {
|
||||
|
|
|
|||
|
|
@ -104,8 +104,6 @@ module.exports = function collectionStorage(cfg) {
|
|||
// test if key is already present in collection
|
||||
const meta = collection.save(payload);
|
||||
session._key = meta._key;
|
||||
console.log(2);
|
||||
console.log(session._key);
|
||||
break;
|
||||
} catch (e) {
|
||||
if (!e.isArangoError || e.errorNum !== UNIQUE_CONSTRAINT) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue