Skip to content

Commit

Permalink
エラーハンドリングを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
harakeishi committed Feb 10, 2023
1 parent c7bd3a6 commit f5d230b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trv/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (d *DB) fetchDBInfo(client *github.Client, ctx context.Context, source Sour
var table DB
err = json.Unmarshal([]byte(text), &table)
if err != nil {
fmt.Println(err)
return fmt.Errorf("fetch table info fail:%w", err)
}
d.Tables = table.Tables
} else {
Expand Down

0 comments on commit f5d230b

Please sign in to comment.