This commit is contained in:
Neeraj Gupta 2023-05-09 17:16:40 +05:30
parent 79a96def5c
commit 67b85b8c4a
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1

View file

@ -856,7 +856,7 @@ class FileUploader {
try {
return _uploadURLs.removeFirst();
} catch (e) {
if (e is StateError && e.message == 'No element' && _queue.isNotEmpty) {
if (e is StateError && e.message == 'No element' && _queue.isEmpty) {
_logger.warning("Oops, uploadUrls has no element now, fetching again");
return _getUploadURL();
} else {