improving debug messages for less  and skipping files on error for war build