Skip to content

Commit

Permalink
Log renew for non-activated nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
jschlyter committed Dec 19, 2024
1 parent 7e49062 commit 3c41069
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nodeman/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ async def renew_node(
node = find_node(name)

if not node.activated:
logging.debug("Renewal attempt for non-activated node %s", name, extra={"nodename": name})
raise HTTPException(status.HTTP_400_BAD_REQUEST, detail="Node not activated")

span = trace.get_current_span()
Expand Down

0 comments on commit 3c41069

Please sign in to comment.