Skip to content

Commit e92ef79

Browse files
author
getsentry-bot
committed
craft(gh-pages): update, version "1.5.6"
1 parent 7b815e7 commit e92ef79

16 files changed

Lines changed: 36 additions & 16 deletions

.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 4b26d7dd7136549f2a52802bd7d9ea7c
3+
config: e3ae2137bdbacfe553c92860b3db3755
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

.doctrees/environment.pickle

607 Bytes
Binary file not shown.

_modules/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>Overview: module code &#8212; sentry-python 1.5.5 documentation</title>
8+
<title>Overview: module code &#8212; sentry-python 1.5.6 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
1010
<link rel="stylesheet" type="text/css" href="../_static/alabaster.css" />
1111
<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>

_modules/sentry_sdk/api.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>sentry_sdk.api &#8212; sentry-python 1.5.5 documentation</title>
8+
<title>sentry_sdk.api &#8212; sentry-python 1.5.6 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css" />
1111
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>

_modules/sentry_sdk/client.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>sentry_sdk.client &#8212; sentry-python 1.5.5 documentation</title>
8+
<title>sentry_sdk.client &#8212; sentry-python 1.5.6 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css" />
1111
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>

_modules/sentry_sdk/hub.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>sentry_sdk.hub &#8212; sentry-python 1.5.5 documentation</title>
8+
<title>sentry_sdk.hub &#8212; sentry-python 1.5.6 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css" />
1111
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>

_modules/sentry_sdk/integrations/logging.html

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>sentry_sdk.integrations.logging &#8212; sentry-python 1.5.5 documentation</title>
8+
<title>sentry_sdk.integrations.logging &#8212; sentry-python 1.5.6 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css" />
1010
<link rel="stylesheet" type="text/css" href="../../../_static/alabaster.css" />
1111
<script data-url_root="../../../" id="documentation_options" src="../../../_static/documentation_options.js"></script>
@@ -255,7 +255,27 @@ <h1>Source code for sentry_sdk.integrations.logging</h1><div class="highlight"><
255255

256256
<span class="n">event</span><span class="p">[</span><span class="s2">&quot;level&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="n">_logging_to_event_level</span><span class="p">(</span><span class="n">record</span><span class="o">.</span><span class="n">levelname</span><span class="p">)</span>
257257
<span class="n">event</span><span class="p">[</span><span class="s2">&quot;logger&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="n">record</span><span class="o">.</span><span class="n">name</span>
258-
<span class="n">event</span><span class="p">[</span><span class="s2">&quot;logentry&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="p">{</span><span class="s2">&quot;message&quot;</span><span class="p">:</span> <span class="n">to_string</span><span class="p">(</span><span class="n">record</span><span class="o">.</span><span class="n">msg</span><span class="p">),</span> <span class="s2">&quot;params&quot;</span><span class="p">:</span> <span class="n">record</span><span class="o">.</span><span class="n">args</span><span class="p">}</span>
258+
259+
<span class="c1"># Log records from `warnings` module as separate issues</span>
260+
<span class="n">record_caputured_from_warnings_module</span> <span class="o">=</span> <span class="p">(</span>
261+
<span class="n">record</span><span class="o">.</span><span class="n">name</span> <span class="o">==</span> <span class="s2">&quot;py.warnings&quot;</span> <span class="ow">and</span> <span class="n">record</span><span class="o">.</span><span class="n">msg</span> <span class="o">==</span> <span class="s2">&quot;</span><span class="si">%s</span><span class="s2">&quot;</span>
262+
<span class="p">)</span>
263+
<span class="k">if</span> <span class="n">record_caputured_from_warnings_module</span><span class="p">:</span>
264+
<span class="c1"># use the actual message and not &quot;%s&quot; as the message</span>
265+
<span class="c1"># this prevents grouping all warnings under one &quot;%s&quot; issue</span>
266+
<span class="n">msg</span> <span class="o">=</span> <span class="n">record</span><span class="o">.</span><span class="n">args</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span> <span class="c1"># type: ignore</span>
267+
268+
<span class="n">event</span><span class="p">[</span><span class="s2">&quot;logentry&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="p">{</span>
269+
<span class="s2">&quot;message&quot;</span><span class="p">:</span> <span class="n">msg</span><span class="p">,</span>
270+
<span class="s2">&quot;params&quot;</span><span class="p">:</span> <span class="p">(),</span>
271+
<span class="p">}</span>
272+
273+
<span class="k">else</span><span class="p">:</span>
274+
<span class="n">event</span><span class="p">[</span><span class="s2">&quot;logentry&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="p">{</span>
275+
<span class="s2">&quot;message&quot;</span><span class="p">:</span> <span class="n">to_string</span><span class="p">(</span><span class="n">record</span><span class="o">.</span><span class="n">msg</span><span class="p">),</span>
276+
<span class="s2">&quot;params&quot;</span><span class="p">:</span> <span class="n">record</span><span class="o">.</span><span class="n">args</span><span class="p">,</span>
277+
<span class="p">}</span>
278+
259279
<span class="n">event</span><span class="p">[</span><span class="s2">&quot;extra&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="n">_extra_from_record</span><span class="p">(</span><span class="n">record</span><span class="p">)</span>
260280

261281
<span class="n">hub</span><span class="o">.</span><span class="n">capture_event</span><span class="p">(</span><span class="n">event</span><span class="p">,</span> <span class="n">hint</span><span class="o">=</span><span class="n">hint</span><span class="p">)</span></div>

_modules/sentry_sdk/scope.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>sentry_sdk.scope &#8212; sentry-python 1.5.5 documentation</title>
8+
<title>sentry_sdk.scope &#8212; sentry-python 1.5.6 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css" />
1111
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>

_modules/sentry_sdk/transport.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>sentry_sdk.transport &#8212; sentry-python 1.5.5 documentation</title>
8+
<title>sentry_sdk.transport &#8212; sentry-python 1.5.6 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css" />
1111
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>

_static/documentation_options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var DOCUMENTATION_OPTIONS = {
22
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
3-
VERSION: '1.5.5',
3+
VERSION: '1.5.6',
44
LANGUAGE: 'None',
55
COLLAPSE_INDEX: false,
66
BUILDER: 'html',

0 commit comments

Comments
 (0)