@itwin/core-bentley
Advanced tools
Comparing version 3.0.0-dev.84 to 3.0.0-dev.85
@@ -0,0 +0,0 @@ # Change Log - @itwin/core-bentley |
@@ -11,2 +11,3 @@ "use strict"; | ||
exports.BeEventList = exports.BeUiEvent = exports.BeEvent = void 0; | ||
const UnexpectedErrors_1 = require("./UnexpectedErrors"); | ||
/** | ||
@@ -86,3 +87,8 @@ * Manages a set of *listeners* for a particular event and notifies them when the event is raised. | ||
else { | ||
context.listener.apply(context.scope, args); | ||
try { | ||
context.listener.apply(context.scope, args); | ||
} | ||
catch (e) { | ||
UnexpectedErrors_1.UnexpectedErrors.handle(e); | ||
} | ||
if (context.once) { | ||
@@ -89,0 +95,0 @@ context.listener = undefined; |
@@ -28,2 +28,3 @@ export * from "./AccessToken"; | ||
export * from "./Time"; | ||
export * from "./UnexpectedErrors"; | ||
export * from "./UtilityTypes"; | ||
@@ -30,0 +31,0 @@ /** @packageDocumentation |
@@ -44,2 +44,3 @@ "use strict"; | ||
__exportStar(require("./Time"), exports); | ||
__exportStar(require("./UnexpectedErrors"), exports); | ||
__exportStar(require("./UtilityTypes"), exports); | ||
@@ -46,0 +47,0 @@ /** @packageDocumentation |
@@ -8,2 +8,3 @@ /*--------------------------------------------------------------------------------------------- | ||
*/ | ||
import { UnexpectedErrors } from "./UnexpectedErrors"; | ||
/** | ||
@@ -83,3 +84,8 @@ * Manages a set of *listeners* for a particular event and notifies them when the event is raised. | ||
else { | ||
context.listener.apply(context.scope, args); | ||
try { | ||
context.listener.apply(context.scope, args); | ||
} | ||
catch (e) { | ||
UnexpectedErrors.handle(e); | ||
} | ||
if (context.once) { | ||
@@ -86,0 +92,0 @@ context.listener = undefined; |
@@ -28,2 +28,3 @@ export * from "./AccessToken"; | ||
export * from "./Time"; | ||
export * from "./UnexpectedErrors"; | ||
export * from "./UtilityTypes"; | ||
@@ -30,0 +31,0 @@ /** @packageDocumentation |
@@ -32,2 +32,3 @@ /*--------------------------------------------------------------------------------------------- | ||
export * from "./Time"; | ||
export * from "./UnexpectedErrors"; | ||
export * from "./UtilityTypes"; | ||
@@ -34,0 +35,0 @@ /** @packageDocumentation |
@@ -0,0 +0,0 @@ # MIT License |
{ | ||
"name": "@itwin/core-bentley", | ||
"version": "3.0.0-dev.84", | ||
"version": "3.0.0-dev.85", | ||
"description": "Bentley JavaScript core components", | ||
@@ -25,4 +25,4 @@ "main": "lib/cjs/core-bentley.js", | ||
"devDependencies": { | ||
"@itwin/build-tools": "3.0.0-dev.84", | ||
"@itwin/eslint-plugin": "3.0.0-dev.84", | ||
"@itwin/build-tools": "3.0.0-dev.85", | ||
"@itwin/eslint-plugin": "3.0.0-dev.85", | ||
"@types/chai": "^4.1.4", | ||
@@ -29,0 +29,0 @@ "@types/chai-as-promised": "^7", |
@@ -0,0 +0,0 @@ # @itwin/core-bentley |
@@ -0,0 +0,0 @@ # Third-Party Code |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1636698
245
15113