Catch error if log dir already exists