Repository navigation
Commit 2527a9b
committed
refactor: log removed-module guidance at debug, not warning
The raised ModuleNotFoundError is the loud, authoritative signal (it stops
execution and carries the full message with the v3 replacement + migration
link). Logging the same message at WARNING duplicated it noisily on a path
that always raises. Downgrade the logger call to debug in both
raise_removed_in_v3 (tombstones) and the fallback finder (catch-all),
leaving a breadcrumb for log-captured environments without the noise. The
DeprecationWarning and the raise are unchanged.1 parent b642f20 commit 2527a9b
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
66 | 70 | | |
67 | 71 | | |
68 | 72 | | |
| |||
99 | 103 | | |
100 | 104 | | |
101 | 105 | | |
102 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
103 | 109 | | |
104 | 110 | | |
105 | 111 | | |
| |||
0 commit comments