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