Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: disable raven if not running from package #2503

Merged
merged 2 commits into from Mar 18, 2019

Conversation

cmatsuoka
Copy link
Contributor

In order to avoid bogus environment misconfiguration reports, only allow
Sentry submissions if running from the packaged distribution.

Signed-off-by: Claudio Matsuoka claudio.matsuoka@canonical.com

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run ./runtests.sh static?
  • Have you successfully run ./runtests.sh tests/unit?

In order to avoid bogus environment misconfiguration reports, only allow
Sentry submissions if running from the packaged distribution.

Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
@codecov-io
Copy link

codecov-io commented Mar 15, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@e48cd84). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2503   +/-   ##
=========================================
  Coverage          ?   89.93%           
=========================================
  Files             ?      198           
  Lines             ?    13358           
  Branches          ?     2021           
=========================================
  Hits              ?    12013           
  Misses            ?      921           
  Partials          ?      424
Impacted Files Coverage Δ
snapcraft/cli/_errors.py 82.73% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e48cd84...fca03f8. Read the comment docs.

Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
@sergiusens sergiusens merged commit 1bf662d into canonical:master Mar 18, 2019
@cmatsuoka cmatsuoka deleted the sentry-only-from-package branch June 27, 2019 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants