mirror of
https://github.com/golang/go
synced 2024-11-18 14:14:46 -07:00
don't print binary data. add TODO for better errors.
TBR=rsc DELTA=2 (1 added, 0 deleted, 1 changed) OCL=28066 CL=28070
This commit is contained in:
parent
93831d25db
commit
5dc95206f2
@ -28,7 +28,8 @@ type TimeZoneError struct {
|
||||
}
|
||||
|
||||
func error(bytes []byte) os.Error {
|
||||
return TimeZoneError{ `time: malformed zoneinfo: "` + string(bytes) + `"` };
|
||||
// TODO(rsc): provide better diagnostics
|
||||
return TimeZoneError{ "time: malformed zoneinfo"};
|
||||
}
|
||||
|
||||
// Simple I/O interface to binary blob of data.
|
||||
|
Loading…
Reference in New Issue
Block a user