artifact-engine
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -34,7 +34,7 @@ "use strict"; | ||
}, (err) => { | ||
ci.publishEvent('reliability', { issueType: 'error', errorMessage: err }); | ||
ci.publishEvent('reliability', { issueType: 'error', errorMessage: JSON.stringify(err, Object.getOwnPropertyNames(err)) }); | ||
reject(err); | ||
}); | ||
}, (err) => { | ||
ci.publishEvent('reliability', { issueType: 'error', errorMessage: err }); | ||
ci.publishEvent('reliability', { issueType: 'error', errorMessage: JSON.stringify(err, Object.getOwnPropertyNames(err)) }); | ||
reject(err); | ||
@@ -115,12 +115,12 @@ }); | ||
exports.ArtifactEngine = ArtifactEngine; | ||
process.on('unhandledRejection', (reason) => { | ||
ci.publishEvent('reliability', { issueType: 'unhandledRejection', errorMessage: reason.message, stack: reason.stack }); | ||
logger_1.Logger.logError("artifact-engine: unhandled rejection " + reason); | ||
throw reason; | ||
process.on('unhandledRejection', (err) => { | ||
ci.publishEvent('reliability', { issueType: 'unhandledRejection', errorMessage: JSON.stringify(err, Object.getOwnPropertyNames(err)) }); | ||
logger_1.Logger.logError("artifact-engine: unhandled rejection " + err); | ||
throw err; | ||
}); | ||
process.on('uncaughtException', (reason) => { | ||
ci.publishEvent('reliability', { issueType: 'uncaughtException', errorMessage: reason.message, stack: reason.stack }); | ||
logger_1.Logger.logError("artifact-engine: unhandled exception " + reason); | ||
throw reason; | ||
process.on('uncaughtException', (err) => { | ||
ci.publishEvent('reliability', { issueType: 'uncaughtException', errorMessage: JSON.stringify(err, Object.getOwnPropertyNames(err)) }); | ||
logger_1.Logger.logError("artifact-engine: unhandled exception " + err); | ||
throw err; | ||
}); | ||
//# sourceMappingURL=artifactEngine.js.map |
{ | ||
"name": "artifact-engine", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Artifact Engine to download artifacts from jenkins, teamcity, vsts", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
95008