Skip to content

Commit 3640987

Browse files
committed
Fix ConfigError init
1 parent 0067bdc commit 3640987

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pgfutils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ class ConfigError(ValueError):
176176
"""An error detected in the configuration."""
177177

178178
def __init__(self, section: str, key: str, message: str):
179-
raise super().__init__(f"{section}.{key}: {message}")
179+
super().__init__(f"{section}.{key}: {message}")
180180

181181

182182
def parse_color(spec: Literal["none", "transparent"] | str | float | tuple[float, ...]):

0 commit comments

Comments
 (0)