TF-4193 Fix all Nitpick comments from coderabbit

This commit is contained in:
dab246
2025-12-10 12:10:17 +07:00
committed by Dat H. Pham
parent ef2ab39a3a
commit 6b1c7e23dc
33 changed files with 20 additions and 91 deletions
@@ -40,10 +40,7 @@ class DownloadDatasourceImpl extends DownloadDatasource {
onReceiveController: onReceiveController,
cancelToken: cancelToken,
);
}).catchError((error, stackTrace) async {
await _exceptionThrower.throwException(error, stackTrace);
throw error;
});
}).catchError(_exceptionThrower.throwException);
}
@override
@@ -67,9 +64,6 @@ class DownloadDatasourceImpl extends DownloadDatasource {
onReceiveController: onReceiveController,
cancelToken: cancelToken,
);
}).catchError((error, stackTrace) async {
await _exceptionThrower.throwException(error, stackTrace);
throw error;
});
}).catchError(_exceptionThrower.throwException);
}
}