Skip to content

If used with ember-cli-deploy-gzip the uploaded files won't work. #26

Open
@urbany

Description

@urbany

Hi, I'm using this addon alongside ember-cli-deploy-gzip and since gzip runs first, the files deploy-sentry uploads to sentry are gzipped and won't work properly.

I tried disabling gzip for map files but since the js files are still being gzipped (as I want them to be on my server) this is what I see on my sentry stacktrace:

screen shot 2016-11-03 at 21 58 24

Any idea on how to solve this? Is it possible to check if the file is gzipped before uploading and if so?

  1. Add a header to the file upload post which will make sentry properly handle the gzipped file?
  2. Or unzip the file before uploading?

Thank you very much in advance

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