Browse files

Disable an error that's not in release.

  • Loading branch information...
1 parent ad2135a commit 9e71cda46fac78d09c97502dc9d87067861ee2fa @rcrowley committed Sep 2, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 errforce.go
View
4 errforce.go
@@ -10,7 +10,7 @@ import (
"net"
"os"
"strconv"
- "url"
+// "url"
"websocket"
)
@@ -33,7 +33,7 @@ func Is(refErr, err os.Error) bool {
if werr, ok := err.(*os.PathError); ok { err = werr.Error }
if werr, ok := err.(png.IDATDecodingError); ok { err = werr.Err }
if werr, ok := err.(*strconv.NumError); ok { err = werr.Error }
- if werr, ok := err.(*url.Error); ok { err = werr.Error }
+// if werr, ok := err.(*url.Error); ok { err = werr.Error }
if werr, ok := err.(*websocket.DialError); ok { err = werr.Error }
// In practice, it doesn't matter that os.SyscallError doesn't appear

0 comments on commit 9e71cda

Please sign in to comment.