fix type of exception expected in LogOpTest that fails after merging 421b49bc