Skip to content

Commit

Permalink
Return early
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrco committed May 31, 2019
1 parent f5f3832 commit a1e8191
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/compact/compact.go
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,7 @@ func IsHaltError(err error) bool {
return true
}
}
return false
}

_, ok := errors.Cause(err).(HaltError)
Expand Down

0 comments on commit a1e8191

Please sign in to comment.