You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/ruff_linter/src/rules/tryceratops/snapshots/ruff_linter__rules__tryceratops__tests__preview__TRY400_TRY400.py.snap
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ TRY400.py:26:9: TRY400 [*] Use `logging.exception` instead of `logging.error`
51
51
|
52
52
=help: Replacewith`exception`
53
53
54
-
ℹ Safefix
54
+
ℹ Unsafefix
55
55
2323|try:
56
56
2424|a=1
57
57
2525|exceptException:
@@ -69,7 +69,7 @@ TRY400.py:29:13: TRY400 [*] Use `logging.exception` instead of `logging.error`
69
69
|
70
70
=help: Replacewith`exception`
71
71
72
-
ℹ Safefix
72
+
ℹ Unsafefix
73
73
2626|logger.error("Context message here")
74
74
2727|
75
75
2828|ifTrue:
@@ -90,7 +90,7 @@ TRY400.py:36:9: TRY400 [*] Use `logging.exception` instead of `logging.error`
90
90
|
91
91
=help: Replacewith`exception`
92
92
93
-
ℹ Safefix
93
+
ℹ Unsafefix
94
94
3333|try:
95
95
3434|a=1
96
96
3535|exceptException:
@@ -108,7 +108,7 @@ TRY400.py:39:13: TRY400 [*] Use `logging.exception` instead of `logging.error`
108
108
|
109
109
=help: Replacewith`exception`
110
110
111
-
ℹ Safefix
111
+
ℹ Unsafefix
112
112
3636|log.error("Context message here")
113
113
3737|
114
114
3838|ifTrue:
@@ -129,7 +129,7 @@ TRY400.py:46:9: TRY400 [*] Use `logging.exception` instead of `logging.error`
129
129
|
130
130
=help: Replacewith`exception`
131
131
132
-
ℹ Safefix
132
+
ℹ Unsafefix
133
133
4343|try:
134
134
4444|a=1
135
135
4545|exceptException:
@@ -147,7 +147,7 @@ TRY400.py:49:13: TRY400 [*] Use `logging.exception` instead of `logging.error`
0 commit comments