8000 Stop showing handler name when hander is not set. (#1004) · PyMySQL/PyMySQL@78f0cf9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 78f0cf9

Browse files
authored
Stop showing handler name when hander is not set. (#1004)
Fixes #987.
1 parent 33d165d commit 78f0cf9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pymysql/connections.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -998,8 +998,7 @@ def _process_auth(self, plugin_name, auth_packet):
998998
else:
999999
raise err.OperationalError(
10001000
2059,
1001-
"Authentication plugin '%s' (%r) not configured"
1002-
% (plugin_name, handler),
1001+
"Authentication plugin '%s' not configured" % (plugin_name,),
10031002
)
10041003
pkt = self._read_packet()
10051004
pkt.check_error()

0 commit comments

Comments
 (0)
0