mirror of
https://github.com/Garmelon/PFERD.git
synced 2026-04-12 15:35:05 +02:00
Use warn method in IliasCrawler
This commit is contained in:
parent
8a42a2a396
commit
e0b46a306a
2 changed files with 11 additions and 3 deletions
|
|
@ -40,6 +40,12 @@ def enable_logging(name: str = "PFERD", level: int = logging.INFO) -> None:
|
|||
colorama.init()
|
||||
|
||||
|
||||
class FatalException(Exception):
|
||||
"""
|
||||
A fatal exception occurred. Recovery is not possible.
|
||||
"""
|
||||
|
||||
|
||||
class PrettyLogger:
|
||||
"""
|
||||
A logger that prints some specially formatted log messages in color.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue