Trying to track down a bug that is happening when run in Docker. Pretty sure it is related to a DNS resolution thing. The GET Object function shows better information if something goes wrong.

This commit is contained in:
Scott Idem
2025-01-06 16:24:47 -05:00
parent b64e7a6b8a
commit 92af1a5962
4 changed files with 596 additions and 530 deletions

View File

@@ -162,10 +162,13 @@ export async function get_ae_obj_id_crud(
params: params,
timeout: timeout,
log_lvl: log_lvl
});
})
.catch(function (error) {
console.log('API GET CRUD object ID request failed.', error);
});
if (log_lvl > 1) {
console.log(object_obj_get_promise);
console.log('GET Object result =', object_obj_get_promise);
}
return object_obj_get_promise;