Skip to content
This repository has been archived by the owner on Aug 7, 2021. It is now read-only.

Commit

Permalink
Replace double quotes in Mex Get log message with single quotes for c…
Browse files Browse the repository at this point in the history
…onsistency
  • Loading branch information
hectormmg committed Feb 2, 2021
1 parent 1b7cf25 commit 2f0e82d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mex.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Mex.prototype.discover = function (callback) {
var self = this;
var options = util.createRequestOptions(self, { headers: { 'Content-Type': 'application/soap+xml' } });
axios.get(this._url, options).then((response) => {
util.logReturnCorrelationId(this._log, "Mex Get", response);
util.logReturnCorrelationId(this._log, 'Mex Get', response);

// status >= 300 && < 400
if (!util.isHttpSuccess(response.status)) {
Expand All @@ -106,7 +106,7 @@ Mex.prototype.discover = function (callback) {
// status >= 400: error case
if (error.response) {
this._log.error('Mex Get' + ' request failed with', error.response.status, true);
util.logReturnCorrelationId(this._log, "Mex Get", error.response);
util.logReturnCorrelationId(this._log, 'Mex Get', error.response);
var returnErrorString = 'Mex Get' + ' request returned http error: ' + error.response.status + ' and server response: ' + JSON.stringify(error.response.data);;
callback(self._log.createError(returnErrorString, true), error.response.data);
}
Expand Down

0 comments on commit 2f0e82d

Please sign in to comment.