Update to all catch functions.
This commit is contained in:
@@ -120,7 +120,7 @@ async function process_file_list(file_list) {
|
||||
// file_data['hash_sha256'] = hash_hex;
|
||||
// return hash_hex;
|
||||
// })
|
||||
// .catch(function (error) {
|
||||
// .catch(function (error: any) {
|
||||
// console.log('Something went wrong?', error);
|
||||
// });
|
||||
|
||||
@@ -146,7 +146,7 @@ async function process_file_list(file_list) {
|
||||
// // console.log(`File hash hex? ${result}`);
|
||||
// // return hash_hex;
|
||||
// // })
|
||||
// // .catch(function (error) {
|
||||
// // .catch(function (error: any) {
|
||||
// // console.log('No results returned or failed.', error);
|
||||
// // });
|
||||
// // file_data['hash_sha256'] = file_reader.readAsArrayBuffer(file_item);
|
||||
|
||||
Reference in New Issue
Block a user