summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pypaste/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pypaste/__init__.py b/pypaste/__init__.py
index 36ca927..e8e6272 100644
--- a/pypaste/__init__.py
+++ b/pypaste/__init__.py
@@ -66,7 +66,7 @@ def pygmentize(
try:
s = get_style_by_name(style)
except Exception as e:
- log_error(f"failed to find style: {style}: {e}")
+ log_warning(f"failed to find style: {style}: {e}")
s = get_style_by_name("default")
formatter = HtmlFormatter(full=True, style=s, linenos="table")