Skip to content
This repository has been archived by the owner on Dec 21, 2020. It is now read-only.

Commit

Permalink
More explict exception messsage
Browse files Browse the repository at this point in the history
  • Loading branch information
anguenot committed Jun 25, 2005
1 parent 792daa1 commit f10cae0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions process.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,9 @@ def start(self, transition):
if definition.andJoinSetting:
if transition in self.incoming:
raise interfaces.ProcessError(
"Repeated incoming transition while waiting for and "
"completion")
"Repeated incoming %s with id='%s' "
"while waiting for and completion"
%(transition, transition.id))
self.incoming += (transition, )

if len(self.incoming) < len(definition.incoming):
Expand Down

0 comments on commit f10cae0

Please sign in to comment.