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