diff --git a/src/podping_hivewriter/podping_hivewriter.py b/src/podping_hivewriter/podping_hivewriter.py index 7124b77..86f5491 100644 --- a/src/podping_hivewriter/podping_hivewriter.py +++ b/src/podping_hivewriter/podping_hivewriter.py @@ -495,9 +495,8 @@ async def failure_retry( # Test if we have a well-formed Hive error message logging.exception(ex) if ( - ex.raw_body.get("error") - and ex.raw_body["error"].get("data") - and ex.raw_body["error"]["data"].get("name") + ex.raw_body["error"]["data"]["name"] + == "tx_missing_posting_auth" ): if logging.DEBUG >= logging.root.level: for iri in iri_set: