Add exception if build failed