summaryrefslogtreecommitdiff
path: root/kvmd/apps/ipmi
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-05-25 01:52:37 +0300
committerDevaev Maxim <[email protected]>2020-05-25 01:52:37 +0300
commite6f8396661b3c12e0cc72941f9b8e635989469fa (patch)
tree0ef5df151a8404b63bf41ac0ac48f369c4ba53eb /kvmd/apps/ipmi
parentd5dca5a8b4eadd988505a6d84e2807cbea6c6d11 (diff)
refactoring
Diffstat (limited to 'kvmd/apps/ipmi')
-rw-r--r--kvmd/apps/ipmi/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/apps/ipmi/server.py b/kvmd/apps/ipmi/server.py
index 7ef99670..1173d395 100644
--- a/kvmd/apps/ipmi/server.py
+++ b/kvmd/apps/ipmi/server.py
@@ -128,7 +128,7 @@ class IpmiServer(BaseIpmiServer): # pylint: disable=too-many-instance-attribute
method = functools.reduce(getattr, method_path.split("."), kvmd_session)
return (await method(**kwargs))
except (aiohttp.ClientError, asyncio.TimeoutError) as err:
- logger.error("Can't perform request %s: %s", name, str(err))
+ logger.error("Can't perform request %s: %s", name, err)
raise
return aiotools.run_sync(runner())