-
Notifications
You must be signed in to change notification settings - Fork 277
Handle ferveo exceptions using a native error #3096
Copy link
Copy link
Closed
nucypher/ferveo
#114Labels
EnhancementNew or improved featuresNew or improved features
Description
# generate a transcript
try:
transcript = self.ritual_power.generate_transcript(
nodes=nodes,
threshold=(ritual.shares // 2) + 1, # TODO: This is a constant or needs to be stored somewhere else
shares=ritual.shares,
checksum_address=self.checksum_address,
ritual_id=ritual_id
)
except Exception as e:
self.log.debug(f"Failed to generate a transcript for ritual #{ritual_id}: {str(e)}")
raise self.ActorError(f"Failed to generate a transcript: {str(e)}")Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
EnhancementNew or improved featuresNew or improved features
Type
Projects
Status
Completed