Update to all catch functions.

This commit is contained in:
Scott Idem
2025-11-13 20:15:09 -05:00
parent 7cd59bfaac
commit 88d36d512d
52 changed files with 170 additions and 170 deletions

View File

@@ -203,7 +203,7 @@ export let get_object = async function get_object(
return return_data;
}
})
.catch(function (error) {
.catch(function (error: any) {
// Handle the common and expected 404 "error" first
if (error.response && error.response.status === 404) {
if (log_lvl) {
@@ -392,7 +392,7 @@ export let get_object = async function get_object(
return response;
}
})
.catch(function (error) {
.catch(function (error: any) {
// Handle the common and expected 404 "error" first
if (error.response && error.response.status === 404) {
if (log_lvl) {