Skip to content

Commit e402ce2

Browse files
committed
Downgrade logging from exception to error
1 parent 0ef7b3f commit e402ce2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylsp_black/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def format_text(*, text, config):
6464
except black.NothingChanged:
6565
raise
6666
except Exception as e:
67-
logger.exception("Error formatting with black: %s", e)
67+
logger.error("Error formatting with black: %s", e.message)
6868
raise black.NothingChanged
6969

7070

0 commit comments

Comments
 (0)