@agility/management-sdk 0.1.24 → 0.1.25
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.
|
@@ -95,6 +95,9 @@ var ContainerMethods = /** @class */ (function () {
|
|
|
95
95
|
return [4 /*yield*/, this._clientInstance.executeGet(apiPath, guid, this._options.token)];
|
|
96
96
|
case 1:
|
|
97
97
|
resp = _a.sent();
|
|
98
|
+
if (resp.status === 404) {
|
|
99
|
+
return [2 /*return*/, null]; // If the container is not found, return null
|
|
100
|
+
}
|
|
98
101
|
return [2 /*return*/, resp.data];
|
|
99
102
|
case 2:
|
|
100
103
|
err_3 = _a.sent();
|