Git Product home page Git Product logo

sentry-utils's Introduction

sentry-utils's People

Contributors

brentvatne avatar cfnelson avatar nikki93 avatar skevy avatar zaizhuang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sentry-utils's Issues

Unexpected token: punc ({) [./~/@exponent/sentry-utils/index.js:3,0]

To reproduce:

  1. npm install create-react-app -g
  2. create-react-app demo
  3. cd demo && npm install @exponent/sentry-utils
  4. Add to src/App.js
    import ExponentSentryClient from '@exponentjs/sentry-utils';
    ExponentSentryClient.setupSentry([SENTRY DSN], [RELEASE], [EXPERIENCE ENTRY FILE]);
    
  5. npm run build

publish-sentry-release doesn't work for me

The publish script isn't working for me. On the command line, it says that it went through, but when I check Sentry, there are no artifacts. My suspicion lies in the usage of getsentry.com instead of sentry.io in your scripts, because sentry now uses the latter domain.

CLI Output:

Checking for clean work tree...

Publishing a release for 'ios' platform on the 'juwan-wheatley/pul' Sentry project...

Please entry your XDE host port: 19000

Current version: v0.1.1
Bump version?
1) Yes
2) No
#? 2

Releasing 0.1.1...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1257  100  1257    0     0  32559      0 --:--:-- --:--:-- --:--:-- 33078

Fetching build from XDE...(may take a while, due to minify)
######################################################################## 100.0%

Fetching source map from XDE...
######################################################################## 100.0%

Modifying bundle and source map...
Delete existing Sentry release?
1) Yes
2) No
#? 2
Creating Sentry Release:
######################################################################## 100.0%

Uploading source to Sentry:
######################################################################## 100.0%

Uploading source map to Sentry:
######################################################################## 100.0%

===============================================================

If you change code between now and uploading to exp.host, be sure to run this script again!
--Fin

screen shot 2017-02-11 at 4 43 15 pm

Thanks

Use client to capture exceptions?

Looks like the client has a method for logging warnings (via Raven.captureMessage()), but not for capturing exceptions. Should we be using this method for capturing exceptions as well, or should we be using Raven.captureException() directly?

I'm also happy to write a logException() method I added a logException() method in #9 that could also be used.

Delete existing Sentry release?

Hi expo team,

I find publish-sentry-release really handy but I'm kind of confuse about platform and "Delete existing Sentry release?" logic.

publish-sentry-release requires a platform as one the the arguments, which makes sense because the bundle for ios can be different to the one for android.

So I was trying to upload a bundle per platform but I got prompted with "Delete existing Sentry release?" whenever I try to upload the second one.

Looking at the logic that checks for existing bundles, it doesn't have platform as a parameter.

  local releaseStatusCode=$(curl -o /dev/null --silent --write-out '%{http_code}' -H "Authorization: Bearer $SENTRY_AUTH_TOKEN" "https://app.getsentry.com/api/0/projects/$SENTRY_TEAM/$SENTRY_PROJECT/releases/$RELEASE_ID/")

This makes me wonder, which is the correct way to upload bundles per platform? Am I doing something wrong?

Thanks in advance,
JM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.