Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit 606145c

Browse files
Neuro AssassinNeuroAssassin
authored andcommitted
Fix duplicate logs
Signed-off-by: Neuro Assassin <neuroassain12@gmail.com> Signed-off-by: NeuroAssassin <neuroassain12@gmail.com>
1 parent d215ab0 commit 606145c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aiohttp_json_rpc/rpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ async def _handle_rpc_msg(self, http_request, raw_msg):
331331
)
332332

333333
except Exception as error:
334-
logging.error(error, exc_info=True)
334+
self.logger.error(error, exc_info=True)
335335

336336
await self._ws_send_str(http_request, encode_error(
337337
RpcInternalError(msg_id=msg.data.get('id', None))

0 commit comments

Comments
 (0)