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/esm/index.js
CHANGED
|
@@ -42564,7 +42564,7 @@ const genRouteHandler = (opts) => {
|
|
|
42564
42564
|
* @author Gabe Abrams
|
|
42565
42565
|
*/
|
|
42566
42566
|
const logServerEvent = (logOpts) => __awaiter(void 0, void 0, void 0, function* () {
|
|
42567
|
-
var _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
42567
|
+
var _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
42568
42568
|
// NOTE: internally, we slip through an opts.overrideAsClientEvent boolean
|
|
42569
42569
|
// that indicates that this is actually a client event, but we don't
|
|
42570
42570
|
// include that in the LogFunction type because this is internal and
|
|
@@ -42648,7 +42648,7 @@ const genRouteHandler = (opts) => {
|
|
|
42648
42648
|
catch (err) {
|
|
42649
42649
|
// Print because we cannot store the error
|
|
42650
42650
|
// eslint-disable-next-line no-console
|
|
42651
|
-
console.error('Could not log the following:',
|
|
42651
|
+
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);
|
|
42652
42652
|
// Create a dummy log to return
|
|
42653
42653
|
const dummyMainInfo = {
|
|
42654
42654
|
id: '-1',
|