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

@@ -228,7 +228,7 @@ async function load_data_store(
// console.log(`ae_e_data_store: Not in browser. Not caching.`);
}
})
.catch(function (error) {
.catch(function (error: any) {
console.log(`Something went wrong. for code ${code}`);
console.log(error);
ds_loading_status = 'error';
@@ -424,7 +424,7 @@ async function handle_create__data_store(
}
return create__obj_result;
})
.catch(function (error) {
.catch(function (error: any) {
console.log('Something went wrong.');
console.log(error);
return false;
@@ -469,7 +469,7 @@ async function handle_update__data_store(
}
return update__obj_result;
})
.catch(function (error) {
.catch(function (error: any) {
console.log('Something went wrong.');
console.log(error);
return false;