Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

console.log(file) calls .size() which throws error #4

@jacobparis

Description

@jacobparis

If I try to console.log(file) inside an upload handler, I get the error from the size method Cannot get the size of a file upload without buffering the entire file

Maybe the FileUpload class should implement its own toString() method that doesn't call .size() implicitly, to avoid throwing errors in this case

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions