dce-reactkit 3.6.27 → 3.6.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js
CHANGED
|
@@ -42590,7 +42590,7 @@ const genRouteHandler = (opts) => {
|
|
|
42590
42590
|
* @author Gabe Abrams
|
|
42591
42591
|
*/
|
|
42592
42592
|
const logServerEvent = (logOpts) => __awaiter(void 0, void 0, void 0, function* () {
|
|
42593
|
-
var _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
42593
|
+
var _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
42594
42594
|
// NOTE: internally, we slip through an opts.overrideAsClientEvent boolean
|
|
42595
42595
|
// that indicates that this is actually a client event, but we don't
|
|
42596
42596
|
// include that in the LogFunction type because this is internal and
|
|
@@ -42674,7 +42674,7 @@ const genRouteHandler = (opts) => {
|
|
|
42674
42674
|
catch (err) {
|
|
42675
42675
|
// Print because we cannot store the error
|
|
42676
42676
|
// eslint-disable-next-line no-console
|
|
42677
|
-
console.error('Could not log the following:',
|
|
42677
|
+
console.error('Could not log the following:', logOpts, 'due to this error:', ((_q = err) !== null && _q !== void 0 ? _q : {}).message, ((_r = err) !== null && _r !== void 0 ? _r : {}).stack);
|
|
42678
42678
|
// Create a dummy log to return
|
|
42679
42679
|
const dummyMainInfo = {
|
|
42680
42680
|
id: '-1',
|