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

@@ -71,7 +71,7 @@ export async function load_ae_obj_id__event_file(
return null;
}
})
.catch(function (error) {
.catch(function (error: any) {
console.log('No results returned or failed.', error);
});
@@ -173,7 +173,7 @@ export async function load_ae_obj_li__event_file(
return [];
}
})
.catch(function (error) {
.catch(function (error: any) {
console.log('No results returned or failed.', error);
});
@@ -238,7 +238,7 @@ export async function create_event_file_obj_from_hosted_file_async(
console.log(result);
return result;
})
.catch(function (error) {
.catch(function (error: any) {
console.log(error);
return false; // Returning false since something may have gone wrong. Also more in line with what the API returns.
// return error;
@@ -662,7 +662,7 @@ export async function search__event_file(
return [];
}
})
.catch(function (error) {
.catch(function (error: any) {
console.log('No results returned or failed.', error);
})
.finally(function () {