Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

Commit fb70b59

Browse files
committed
chore: print err when ipfs is unavailble
1 parent 7a55c9b commit fb70b59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func main() {
3838
}
3939

4040
if conf.IPFSClient.Ping() != nil {
41-
log.Panic("ipfs unavailble")
41+
log.Fatalf("ipfs unavailble: %s", err)
4242
}
4343

4444
srv := server.New(conf)

0 commit comments

Comments
 (0)