|
|
|
@ -23,10 +23,10 @@ const eventFns = {
|
|
|
|
|
const ev = new events(data)
|
|
|
|
|
ev.save((err) => {
|
|
|
|
|
if (err)
|
|
|
|
|
throw err;
|
|
|
|
|
throw err
|
|
|
|
|
})
|
|
|
|
|
} catch (e) {
|
|
|
|
|
throw e;
|
|
|
|
|
console.warn(e)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -52,7 +52,7 @@ const rosterFns = {
|
|
|
|
|
throw err
|
|
|
|
|
})
|
|
|
|
|
} catch (e) {
|
|
|
|
|
throw e
|
|
|
|
|
console.warn(e)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -78,7 +78,7 @@ const matchFns = {
|
|
|
|
|
throw err;
|
|
|
|
|
})
|
|
|
|
|
} catch (e) {
|
|
|
|
|
throw e;
|
|
|
|
|
console.warn(e)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -104,7 +104,7 @@ const streamFns = {
|
|
|
|
|
throw err;
|
|
|
|
|
})
|
|
|
|
|
} catch (e) {
|
|
|
|
|
throw e;
|
|
|
|
|
console.warn(e)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -130,7 +130,7 @@ const casterFns = {
|
|
|
|
|
throw err;
|
|
|
|
|
})
|
|
|
|
|
} catch (e) {
|
|
|
|
|
throw e;
|
|
|
|
|
console.warn(e)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -156,7 +156,7 @@ const hostFns = {
|
|
|
|
|
throw err;
|
|
|
|
|
})
|
|
|
|
|
} catch (e) {
|
|
|
|
|
throw e;
|
|
|
|
|
console.warn(e)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|