This repository was archived by the owner on Oct 23, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 656
This repository was archived by the owner on Oct 23, 2023. It is now read-only.
New style dsn setting #1235
Copy link
Copy link
Closed
Description
If I use the new style of dsn values (without the secret part), the exception doesn't appear on sentry.io. However, if I use the dsn with the secret part, the exception appears on the site.
$ python3.6 -m venv raven-test
$ . ./raven-test/bin/activate
$ pip install raven
Collecting raven
Cache entry deserialization failed, entry ignored
Cache entry deserialization failed, entry ignored
Downloading https://files.pythonhosted.org/packages/51/7c/bdfa7eff52208a949bc5ab770c084f4725c42dde41e36d5a9e15f11a9a14/raven-6.7.0-py2.py3-none-any.whl (284kB)
100% |████████████████████████████████| 286kB 1.4MB/s
Installing collected packages: raven
Successfully installed raven-6.7.0
You are using pip version 9.0.1, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
$ python
Python 3.6.4 (default, Jan 6 2018, 11:51:15)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from raven import Client
>>> client = Client('https://****@sentry.io/220697')
>>>
>>> try:
... 1/0
... except ZeroDivisionError:
... client.captureException()
...
>>>
>>> client = Client('https://****:****@sentry.io/220697')
>>> try:
... 1/0
... except ZeroDivisionError:
... client.captureException()
...
'94ba8e1f6e68467eb01492b81f1624d6'
>>>
Am I missing something?
kgraves, luismayta and tomako
Metadata
Metadata
Assignees
Labels
No labels