Update to all catch functions.
This commit is contained in:
@@ -117,7 +117,7 @@ async function handle_update__event_presenter({
|
||||
$slct_trigger = 'load__event_presenter_obj_li';
|
||||
return update__obj_result;
|
||||
})
|
||||
.catch(function (error) {
|
||||
.catch(function (error: any) {
|
||||
console.log('Something went wrong.');
|
||||
console.log(error);
|
||||
return false;
|
||||
|
||||
@@ -219,7 +219,7 @@ async function handle_input_upload_files(input_upload_files, task_id) {
|
||||
|
||||
return event_file_id;
|
||||
})
|
||||
.catch(function (error) {
|
||||
.catch(function (error: any) {
|
||||
console.log('Something went wrong.');
|
||||
console.log(error);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user