Skip to content

Commit

Permalink
Release version 0.0.0.dev24
Browse files Browse the repository at this point in the history
  • Loading branch information
AAriam committed Sep 24, 2024
1 parent 0f86c20 commit 2936cec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ namespaces = true
# ----------------------------------------- Project Metadata -------------------------------------
#
[project]
version = "0.0.0.dev23"
version = "0.0.0.dev24"
name = "LoggerMan"
dependencies = [
"MDit == 0.0.0.dev9",
"MDit == 0.0.0.dev11",
"ActionMan == 0.0.0.dev17",
"ProtocolMan == 0.0.0.dev2",
"ExceptionMan == 0.0.0.dev11",
"pydantic",
"rich",
]
Expand Down
9 changes: 5 additions & 4 deletions src/loggerman/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

import actionman as _actionman
import mdit as _mdit
from exceptionman import Traceback as _Traceback
import rich
import rich.traceback
import rich._inspect
Expand Down Expand Up @@ -202,7 +203,7 @@ def process_exit_code():
@staticmethod
def traceback(
trace: tuple[Type[BaseException], BaseException, TracebackType] | None = None,
width: int = 70,
code_width: int = 88,
extra_lines: int = 3,
theme: str | None = None,
word_wrap: bool = False,
Expand All @@ -221,9 +222,9 @@ def traceback(
return
else:
exc_type, exc_value, traceback = trace
rich_traceback = rich.traceback.Traceback(
rich.traceback.Traceback.extract(exc_type, exc_value, traceback, show_locals=show_locals),
width=width,
rich_traceback = _Traceback(
_Traceback.extract(exc_type, exc_value, traceback, show_locals=show_locals),
code_width=code_width,
extra_lines=extra_lines,
theme=theme,
word_wrap=word_wrap,
Expand Down

0 comments on commit 2936cec

Please sign in to comment.