View Single Post
  #5  
Old 12-14-2007, 12:26 PM
teognost teognost is online now
Registered User
 
Join Date: 05-25-2004
Location: Prague,Czech Republic
Posts: 200
Tks!
so the code :
' check failure and mark step as failed if so
If Err.Number <> 0 Then
Builder.LogMessage Err.Description
Step.BuildStatus = vbldStepStatFailed
End If
could stay only once at the end of the subprocedure,it is not necessary to write it after any operation that could fail.
Reply With Quote