trace-fix
Some checks failed
Deploy on push / deploy (push) Failing after 6s

This commit is contained in:
Untone 2024-04-09 22:02:26 +03:00
parent 3f2c00a1df
commit 103fcfd045

View File

@ -77,11 +77,9 @@ async def get_author(_, _info, slug='', author_id=0):
await cache_author(author_dict)
except ValueError:
pass
except Exception:
except Exception as exc:
import traceback
exc = traceback.format_exc()
logger.error(exc)
logger.error(f'{exc}:\n{traceback.format_exc()}')
return author_dict