liefery-it-legacy / bugsnex

API client and logger for Bugsnag
MIT License
10 stars 2 forks source link

Fix/support file uploads #25

Closed acid closed 7 years ago

acid commented 7 years ago

As Plug.Upload is returning a struct do_filter failed with (Protocol.UndefinedError) protocol Enumerable not implemented for %Plug.Upload{content_type: "text/csv", filename: "test.csv", path: "/path/to/tempfile"} if errors occur for a file upload request.

This pull request add general support for structs, which covers file uploads as well.

tiagotex commented 7 years ago

Damn, forgot the changelog :(