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

Commit 575ae94

Browse files
committed
fixed unreachable code
1 parent 6d15809 commit 575ae94

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎pkg/instago/parse.go‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ func (post Post) Filter(filter Filters) (stop, skip bool) {
3030

3131
t, err := strconv.ParseInt(post.CreatedTime, 10, 64)
3232
if err != nil {
33-
panic(err)
34-
stop = true
35-
return
33+
log.Panic(err)
3634
}
3735

3836
created := time.Unix(t, 0)

0 commit comments

Comments
 (0)
⌂ 换网址