diff --git a/package-lock.json b/package-lock.json index 54161162..656462d6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "quoting-service", - "version": "11.1.3", + "version": "11.1.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index a7174c9b..9ed1f091 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "quoting-service", "description": "Quoting Service hosted by a scheme", "license": "Apache-2.0", - "version": "11.1.3", + "version": "11.1.4", "author": "ModusBox", "contributors": [ "James Bush ", diff --git a/src/model/quotes.js b/src/model/quotes.js index e5495f80..c8b80c3a 100644 --- a/src/model/quotes.js +++ b/src/model/quotes.js @@ -316,6 +316,7 @@ class QuotesModel { const fspiopError = ErrorHandler.ReformatFSPIOPError(err) const state = new EventSdk.EventStateMetadata(EventSdk.EventStatusType.failed, fspiopError.apiErrorCode.code, fspiopError.apiErrorCode.message) + await this.handleException(fspiopSource, quoteRequest.quoteId, fspiopError, headers, handleQuoteRequestSpan) if (handleQuoteRequestSpan) { await handleQuoteRequestSpan.error(fspiopError, state) await handleQuoteRequestSpan.finish(fspiopError.message, state) @@ -590,6 +591,7 @@ class QuotesModel { } const fspiopError = ErrorHandler.ReformatFSPIOPError(err) const state = new EventSdk.EventStateMetadata(EventSdk.EventStatusType.failed, fspiopError.apiErrorCode.code, fspiopError.apiErrorCode.message) + await this.handleException(fspiopSource, quoteId, err, headers, handleQuoteUpdateSpan) if (handleQuoteUpdateSpan) { await handleQuoteUpdateSpan.error(fspiopError, state) await handleQuoteUpdateSpan.finish(fspiopError.message, state)