improving exception reporting and preventing broken jars to be uploaded