Skip to content

Commit

Permalink
Improved error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
BERNARDO31P committed Jun 22, 2024
1 parent a0ac2cb commit a8a1183
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/assets/js/tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,11 @@ function downloadURL(mode, location, url, percentage, codecAudio, codecVideo, qu

if (!aborted) resolve("success");
else resolve("aborted");

return;
}

resolve("error");
});
});
}
Expand Down

0 comments on commit a8a1183

Please sign in to comment.