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

Commit 3a2b2ac

Browse files
authored
Merge pull request #56 from NeuroAssassin/master
Fix duplicate logs
2 parents d215ab0 + 606145c commit 3a2b2ac

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)