[Webkit-unassigned] [Bug 38246] wdiff_text throws ScriptError because wdiff returns non-zero when files differ

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 28 01:21:57 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=38246





--- Comment #8 from Eric Seidel <eric at webkit.org>  2010-04-28 01:21:56 PST ---
(In reply to comment #6)
> (In reply to comment #4)
> > (From update of attachment 54533 [details] [details])
> > What's the benefit of a custom error handler vs putting endAfterSelection in a
> > try/except block?
> 
> Ooops, junk in my clipboard.  That was supposed to read
> |self._executive.run_command| in a try/except block.  Anyway, not a big deal
> either way, just seems like less code to catch an exception.

The only advantage is the theoretical one of reserving exceptions for
exceptional situations. :)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list