Fix show diagnostics error messages.