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

@@ -141,7 +141,7 @@ function handle_update_event_exhibit_staff_passcode(exhibit_id, reset_passcode)
// disable_open_lead_retrieval_btn = false;
// disable_reset_passcode_btn = false;
// })
// .catch(function (error) {
// .catch(function (error: any) {
// console.log('Failed to update passcode.', error);
// disable_open_lead_retrieval_btn = true;
// disable_reset_passcode_btn = true;

View File

@@ -396,7 +396,7 @@ async function handle_update__exhibit({obj_type, obj_id, data}: {obj_type: strin
}
return update__obj_result;
})
.catch(function (error) {
.catch(function (error: any) {
console.log('Something went wrong.');
console.log(error);
return false;