Fix error
This commit is contained in:
parent
394bff34e5
commit
240831d6e5
@ -47,7 +47,9 @@ class StreamUploadManager<TCacheShape> {
|
||||
this.isUploading = true;
|
||||
const task = this.uploadQueue.shift();
|
||||
try {
|
||||
if (task) await task();
|
||||
if (task) {
|
||||
await task();
|
||||
}
|
||||
} catch (error) {
|
||||
console.error("Error processing upload task", error);
|
||||
} finally {
|
||||
|
Loading…
Reference in New Issue
Block a user