From f5d230bec6564d722683c0f1dd8a7386fc7477ea Mon Sep 17 00:00:00 2001 From: harakeishi Date: Fri, 10 Feb 2023 23:39:06 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=A8=E3=83=A9=E3=83=BC=E3=83=8F=E3=83=B3?= =?UTF-8?q?=E3=83=89=E3=83=AA=E3=83=B3=E3=82=B0=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trv/db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trv/db.go b/trv/db.go index 5c95c76..c4e8f47 100644 --- a/trv/db.go +++ b/trv/db.go @@ -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 {