File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1777,7 +1777,7 @@ logger.<level>('A logging message.')
1777
1777
``` python
1778
1778
try :
1779
1779
...
1780
- except < Exception > :
1780
+ except < exception > :
1781
1781
logger.exception(' An error happened.' )
1782
1782
```
1783
1783
Original file line number Diff line number Diff line change @@ -1499,7 +1499,7 @@ <h3 id="exceptions-1">Exceptions</h3>
1499
1499
< p > < strong > Error description, stack trace and values of variables are appended automatically.</ strong > </ p >
1500
1500
< pre > < code class ="python language-python hljs "> < span class ="hljs-keyword "> try</ span > :
1501
1501
...
1502
- < span class ="hljs-keyword "> except</ span > <Exception >:
1502
+ < span class ="hljs-keyword "> except</ span > <exception >:
1503
1503
logger.exception(< span class ="hljs-string "> 'An error happened.'</ span > )
1504
1504
</ code > </ pre >
1505
1505
< h3 id ="rotation "> Rotation</ h3 >
You can’t perform that action at this time.
0 commit comments