Skip to content

Commit f7f76d6

Browse files
committed
examples/sql-nullstring: fix dropped error
1 parent d6b7434 commit f7f76d6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/sql-nullstring/main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,9 @@ query {
192192
log.Fatal(r1)
193193
}
194194
b1, err := json.MarshalIndent(r1, "", " ")
195+
if err != nil {
196+
log.Fatal(err)
197+
}
195198
b2, err := json.MarshalIndent(r2, "", " ")
196199
if err != nil {
197200
log.Fatal(err)

0 commit comments

Comments
 (0)