sobey-monitor-sdk 1.1.13 → 1.1.14

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/index.umd.js CHANGED
@@ -1098,7 +1098,7 @@
1098
1098
  ? `Business Error ${httpInfo.method} ${httpInfo.url}`
1099
1099
  : `HTTP ${httpInfo.status} ${httpInfo.method} ${httpInfo.url}`;
1100
1100
  const errorData = {
1101
- type: 'http_error',
1101
+ type: isBusinessError ? 'business_error' : 'http_error',
1102
1102
  message,
1103
1103
  httpInfo,
1104
1104
  };