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

@@ -74,7 +74,7 @@ export async function load_ae_obj_id__event_device(
return null;
}
})
.catch(function (error) {
.catch(function (error: any) {
console.log('No results returned or failed.', error);
});
@@ -200,7 +200,7 @@ export async function load_ae_obj_li__event_device(
return [];
}
})
.catch(function (error) {
.catch(function (error: any) {
console.log('No results returned or failed.', error);
});
@@ -310,7 +310,7 @@ export async function create_ae_obj__event_device(
return null;
}
})
.catch(function (error) {
.catch(function (error: any) {
console.log('No results returned or failed.', error);
})
.finally(function () {
@@ -354,7 +354,7 @@ export async function delete_ae_obj_id__event_device(
method: method,
log_lvl: log_lvl
})
.catch(function (error) {
.catch(function (error: any) {
console.log('No results returned or failed.', error);
})
.finally(function () {
@@ -440,7 +440,7 @@ export async function update_ae_obj__event_device(
return null;
}
})
.catch(function (error) {
.catch(function (error: any) {
console.log('No results returned or failed.', error);
})
.finally(function () {
@@ -567,7 +567,7 @@ export async function search__event_device(
return [];
}
})
.catch(function (error) {
.catch(function (error: any) {
console.log('No results returned or failed.', error);
})
.finally(function () {