Skip to content

Commit 0cf8693

Browse files
committed
Dict
1 parent 8e00649 commit 0cf8693

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1777,7 +1777,7 @@ logger.<level>('A logging message.')
17771777
```python
17781778
try:
17791779
...
1780-
except <Exception>:
1780+
except <exception>:
17811781
logger.exception('An error happened.')
17821782
```
17831783

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1499,7 +1499,7 @@ <h3 id="exceptions-1">Exceptions</h3>
14991499
<p><strong>Error description, stack trace and values of variables are appended automatically.</strong></p>
15001500
<pre><code class="python language-python hljs"><span class="hljs-keyword">try</span>:
15011501
...
1502-
<span class="hljs-keyword">except</span> &lt;Exception&gt;:
1502+
<span class="hljs-keyword">except</span> &lt;exception&gt;:
15031503
logger.exception(<span class="hljs-string">'An error happened.'</span>)
15041504
</code></pre>
15051505
<h3 id="rotation">Rotation</h3>

0 commit comments

Comments
 (0)