was there a reason for not calling cros build lib die no one catches systemexit seems like you should replace all the other raises with  die at the very least  seems like you have an extra set of paren here 