Skip to content

Commit

Permalink
More clear error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneeseguin committed Jun 4, 2012
1 parent c03492e commit 1f3ce1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sm-json.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func main() {
if len(path_array) == i+1 {
value = v
} else {
log.Fatal("ERROR: Found value too soon")
log.Fatalf("ERROR: Unable to traverse the full path before encoutering a value at '%s'.", v)
}
case map[string]interface{}:
if len(path_array) == i+1 {
Expand Down

0 comments on commit 1f3ce1f

Please sign in to comment.