Update Innertube.js

This commit is contained in:
LuanRT
2021-10-03 04:52:15 -03:00
parent 584e9e485c
commit 5624524682

View File

@@ -199,7 +199,7 @@ class Innertube {
response.data.on('error', (err) => {
if (cancelled) {
stream.emit('error', { message: 'Download cancelled.', type: 'DOWNLOAD_CANCELLED' });
stream.emit('error', { message: 'The download was cancelled.', type: 'DOWNLOAD_CANCELLED' });
} else {
stream.emit('error', { message: err.message, type: 'DOWNLOAD_ABORTED' });
}