This commit is contained in:
parent
3f2c00a1df
commit
103fcfd045
|
@ -77,11 +77,9 @@ async def get_author(_, _info, slug='', author_id=0):
|
||||||
await cache_author(author_dict)
|
await cache_author(author_dict)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
pass
|
pass
|
||||||
except Exception:
|
except Exception as exc:
|
||||||
import traceback
|
import traceback
|
||||||
|
logger.error(f'{exc}:\n{traceback.format_exc()}')
|
||||||
exc = traceback.format_exc()
|
|
||||||
logger.error(exc)
|
|
||||||
return author_dict
|
return author_dict
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user