Update to all catch functions.
This commit is contained in:
@@ -924,7 +924,7 @@ exports.open_local_file = async function ({local_file_path, filename}) {
|
||||
// // result.then(function (response) {
|
||||
// // console.log('Downloaded!!!???');
|
||||
// // return true;
|
||||
// // }).catch(function (error) {
|
||||
// // }).catch(function (error: any) {
|
||||
// // console.log(error);
|
||||
// // return false;
|
||||
// // });
|
||||
@@ -979,7 +979,7 @@ async function check_file_cache({api_base_url, local_file_cache_path, event_file
|
||||
// result.then(function (response) {
|
||||
// console.log('Downloaded!!!???');
|
||||
// return true;
|
||||
// }).catch(function (error) {
|
||||
// }).catch(function (error: any) {
|
||||
// console.log(error);
|
||||
// return false;
|
||||
// });
|
||||
|
||||
Reference in New Issue
Block a user