|
|
@ -23,7 +23,7 @@ const eventFns = {
|
|
|
|
const ev = new events(data)
|
|
|
|
const ev = new events(data)
|
|
|
|
ev.save((err) => {
|
|
|
|
ev.save((err) => {
|
|
|
|
if (err)
|
|
|
|
if (err)
|
|
|
|
throw err
|
|
|
|
console.warn(err)
|
|
|
|
})
|
|
|
|
})
|
|
|
|
} catch (e) {
|
|
|
|
} catch (e) {
|
|
|
|
console.warn(e)
|
|
|
|
console.warn(e)
|
|
|
@ -49,7 +49,7 @@ const rosterFns = {
|
|
|
|
const ev = new rosters(data)
|
|
|
|
const ev = new rosters(data)
|
|
|
|
ev.save((err) => {
|
|
|
|
ev.save((err) => {
|
|
|
|
if (err)
|
|
|
|
if (err)
|
|
|
|
throw err
|
|
|
|
console.warn(err)
|
|
|
|
})
|
|
|
|
})
|
|
|
|
} catch (e) {
|
|
|
|
} catch (e) {
|
|
|
|
console.warn(e)
|
|
|
|
console.warn(e)
|
|
|
@ -75,7 +75,7 @@ const matchFns = {
|
|
|
|
const ev = new matches(data)
|
|
|
|
const ev = new matches(data)
|
|
|
|
ev.save((err) => {
|
|
|
|
ev.save((err) => {
|
|
|
|
if (err)
|
|
|
|
if (err)
|
|
|
|
throw err;
|
|
|
|
console.warn(err)
|
|
|
|
})
|
|
|
|
})
|
|
|
|
} catch (e) {
|
|
|
|
} catch (e) {
|
|
|
|
console.warn(e)
|
|
|
|
console.warn(e)
|
|
|
@ -101,7 +101,7 @@ const streamFns = {
|
|
|
|
const ev = new streams(data)
|
|
|
|
const ev = new streams(data)
|
|
|
|
ev.save((err) => {
|
|
|
|
ev.save((err) => {
|
|
|
|
if (err)
|
|
|
|
if (err)
|
|
|
|
throw err;
|
|
|
|
console.warn(err)
|
|
|
|
})
|
|
|
|
})
|
|
|
|
} catch (e) {
|
|
|
|
} catch (e) {
|
|
|
|
console.warn(e)
|
|
|
|
console.warn(e)
|
|
|
@ -127,7 +127,7 @@ const casterFns = {
|
|
|
|
const ev = new casters(data)
|
|
|
|
const ev = new casters(data)
|
|
|
|
ev.save((err) => {
|
|
|
|
ev.save((err) => {
|
|
|
|
if (err)
|
|
|
|
if (err)
|
|
|
|
throw err;
|
|
|
|
console.warn(err)
|
|
|
|
})
|
|
|
|
})
|
|
|
|
} catch (e) {
|
|
|
|
} catch (e) {
|
|
|
|
console.warn(e)
|
|
|
|
console.warn(e)
|
|
|
@ -153,7 +153,7 @@ const hostFns = {
|
|
|
|
const ev = new hosts(data)
|
|
|
|
const ev = new hosts(data)
|
|
|
|
ev.save((err) => {
|
|
|
|
ev.save((err) => {
|
|
|
|
if (err)
|
|
|
|
if (err)
|
|
|
|
throw err;
|
|
|
|
console.warn(err)
|
|
|
|
})
|
|
|
|
})
|
|
|
|
} catch (e) {
|
|
|
|
} catch (e) {
|
|
|
|
console.warn(e)
|
|
|
|
console.warn(e)
|
|
|
|