From c07b182134c322b1cd071bc16b1033688097e46c Mon Sep 17 00:00:00 2001 From: Privat33r-dev Date: Sat, 10 Aug 2024 18:46:40 +0200 Subject: [PATCH] fix autotests --- clairvoyance/oracle.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/clairvoyance/oracle.py b/clairvoyance/oracle.py index e14f47c..3d8c7c0 100644 --- a/clairvoyance/oracle.py +++ b/clairvoyance/oracle.py @@ -419,9 +419,8 @@ async def __probation(document: str) -> Optional[graphql.TypeRef]: error["message"], context, ) - log().debug( - f'get_typeref("{error["message"]}", "{context}") -> {typeref}' - ) + log().debug(f'get_typeref("{error["message"]}", "{context}") -> {typeref}') + if typeref: return typeref return None