diff --git a/README.md b/README.md index 77cc5b4..d708d47 100644 --- a/README.md +++ b/README.md @@ -1777,7 +1777,7 @@ logger.('A logging message.') ```python try: ... -except : +except : logger.exception('An error happened.') ``` diff --git a/index.html b/index.html index 838596c..f3b23fb 100644 --- a/index.html +++ b/index.html @@ -1499,7 +1499,7 @@ logger.<level>('A logging message.')

Error description, stack trace and values of variables are appended automatically.

try:
     ...
-except <Exception>:
+except <exception>:
     logger.exception('An error happened.')
 

Rotation