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

@@ -231,7 +231,7 @@ async function load_data_store(
ds_loading_status = '-- not found --';
}
})
.catch(function (error) {
.catch(function (error: any) {
console.log(`Something went wrong. for code ${code}`);
console.log(error);
ds_loading_status = '-- error --';
@@ -418,7 +418,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;
@@ -455,7 +455,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;