Skip to content

Commit

Permalink
Merge pull request #1803 from ardriveapp/PE-6473-enhance-log-for-bund…
Browse files Browse the repository at this point in the history
…le-upload-exception-bundle-upload-exception-failed-to-upload-file-bundle-bundle-instance-of-transaction-result-err
  • Loading branch information
karlprieb authored Jul 24, 2024
2 parents d371a60 + 6b169e0 commit b359829
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ardrive_uploader/lib/src/d2n_streamed_upload.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ class D2NStreamedUpload implements StreamedUpload<UploadItem> {

upload.complete(StreamedUploadResult(success: true));
} catch (e) {
logger.e('D2NStreamedUpload.send: error while uploading', e);
upload.complete(StreamedUploadResult(success: false));
logger.i('D2NStreamedUpload.send: error while uploading');
upload.complete(StreamedUploadResult(success: false, error: e));
}
});

Expand Down

0 comments on commit b359829

Please sign in to comment.