Skip to content

Exception string: Unsupported image type '$type'. #71

Description

@JosefRypacek

Hi,

I've just got weird message, while saving image. It seems like typo.
throw new Nette\InvalidArgumentException('Unsupported image type \'$type\'.')

So I would like to fix & pull, but suggested solution is not good enough. When user uploads image "example.jpegg" variable $type is empty and message is: Unsupported image type ''.
throw new Nette\InvalidArgumentException("Unsupported image type '$type'.");

Can somebody (with more experience) take this issue?
Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions