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/package.json
CHANGED
|
@@ -606,7 +606,13 @@ const genRouteHandler = (
|
|
|
606
606
|
} catch (err) {
|
|
607
607
|
// Print because we cannot store the error
|
|
608
608
|
// eslint-disable-next-line no-console
|
|
609
|
-
console.error(
|
|
609
|
+
console.error(
|
|
610
|
+
'Could not log the following:',
|
|
611
|
+
logOpts,
|
|
612
|
+
'due to this error:',
|
|
613
|
+
(err as any ?? {}).message,
|
|
614
|
+
(err as any ?? {}).stack,
|
|
615
|
+
);
|
|
610
616
|
|
|
611
617
|
// Create a dummy log to return
|
|
612
618
|
const dummyMainInfo: LogMainInfo = {
|