@dnax/core 0.74.6 → 0.74.7

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.
Files changed (2) hide show
  1. package/app/hono.ts +3 -0
  2. package/package.json +1 -1
package/app/hono.ts CHANGED
@@ -792,6 +792,9 @@ function HonoInstance(): typeof app {
792
792
  success: false,
793
793
  meta: err?.meta || {},
794
794
  };
795
+ if (plugins?.sentry) {
796
+ plugins?.sentry?.captureException(err) ?? null;
797
+ }
795
798
  if (Cfg?.api?.onError && typeof Cfg?.api?.onError == "function") {
796
799
  try {
797
800
  await Cfg?.api?.onError(errorFormated, err);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.74.6",
3
+ "version": "0.74.7",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {},