refactoring

This commit is contained in:
Devaev Maxim
2020-05-17 21:30:22 +03:00
parent 8a13f62911
commit 0447358f5e
2 changed files with 6 additions and 15 deletions

View File

@@ -30,7 +30,7 @@ import aiohttp
# =====
class StreamerError(Exception):
def __init__(self, err: Exception):
super().__init__(f"{type(err).__name__} {err}")
super().__init__(f"{type(err).__name__}: {err}")
# =====