@microsoft.azure/autorest-core
Advanced tools
Comparing version 2.0.4163 to 2.0.4164
@@ -186,11 +186,9 @@ "use strict"; | ||
catch (e) { | ||
const message = { Channel: message_1.Channel.Debug, Text: `Process() Cancelled due to exception : ${e.message}` }; | ||
if (e instanceof exception_1.Exception) { | ||
// console.error(e); | ||
this.Finished.Dispatch(false); | ||
if (view) { | ||
view.messageEmitter.removeAllListeners(); | ||
} | ||
return false; | ||
// idea: don't throw exceptions, just visibly log them and return false | ||
message.Channel = message_1.Channel.Fatal; | ||
e = false; | ||
} | ||
this.Message.Dispatch({ Channel: message_1.Channel.Debug, Text: `Process() Cancelled due to exception : ${e.message}` }); | ||
this.Message.Dispatch(message); | ||
this.Finished.Dispatch(e); | ||
@@ -197,0 +195,0 @@ if (view) { |
{ | ||
"name": "@microsoft.azure/autorest-core", | ||
"version": "2.0.4163", | ||
"version": "2.0.4164", | ||
"description": "AutoRest core module", | ||
@@ -23,3 +23,3 @@ "engines": { | ||
"scripts": { | ||
"test": "./node_modules/.bin/mocha ./dist/test", | ||
"test": "./node_modules/.bin/mocha ./dist/test --timeout 0", | ||
"prepare": "shx mkdir -p ./dist/ && cd ./static_modules && npm install", | ||
@@ -26,0 +26,0 @@ "prepublishonly": "gulp build" |
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
31259312
5632