adding extra logging for path creation failure