Skip to content

Commit

Permalink
refactor: improve error message PE-4643
Browse files Browse the repository at this point in the history
Co-authored-by: Dylan Fiedler <dtfiedler@users.noreply.github.com>
  • Loading branch information
fedellen and dtfiedler authored Aug 8, 2024
1 parent 5287a5f commit b3ab120
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/web/upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ export class TurboAuthenticatedWebUploadService extends TurboAuthenticatedBaseUp
if (throwOnFailure) {
throw error;
}
this.logger.error(`Error uploading file: ${file.name}`);
this.logger.error(error);
this.logger.error(`Error uploading file: ${file.name}`, error);
errors.push(error);
}

Check warning on line 90 in src/web/upload.ts

View check run for this annotation

Codecov / codecov/patch

src/web/upload.ts#L85-L90

Added lines #L85 - L90 were not covered by tests
};
Expand Down

0 comments on commit b3ab120

Please sign in to comment.