repzo 1.0.76 → 1.0.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +4 -1
- package/package.json +1 -1
- package/src/index.ts +4 -1
package/lib/index.js
CHANGED
|
@@ -2083,9 +2083,12 @@ Repzo.CommandLog = class {
|
|
|
2083
2083
|
message: error.message,
|
|
2084
2084
|
responseData: error.response?.data,
|
|
2085
2085
|
};
|
|
2086
|
-
this.error_details.push({ timestamp: Date.now(), error: this.error });
|
|
2087
2086
|
} else {
|
|
2088
2087
|
this.error = error;
|
|
2088
|
+
this.error_details.push({
|
|
2089
|
+
timestamp: Date.now(),
|
|
2090
|
+
error: this.error,
|
|
2091
|
+
});
|
|
2089
2092
|
}
|
|
2090
2093
|
return this;
|
|
2091
2094
|
}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -2832,9 +2832,12 @@ export default class Repzo {
|
|
|
2832
2832
|
message: error.message,
|
|
2833
2833
|
responseData: error.response?.data,
|
|
2834
2834
|
};
|
|
2835
|
-
this.error_details.push({ timestamp: Date.now(), error: this.error });
|
|
2836
2835
|
} else {
|
|
2837
2836
|
this.error = error;
|
|
2837
|
+
this.error_details.push({
|
|
2838
|
+
timestamp: Date.now(),
|
|
2839
|
+
error: this.error,
|
|
2840
|
+
});
|
|
2838
2841
|
}
|
|
2839
2842
|
return this;
|
|
2840
2843
|
}
|