Skip to content

Commit 683f0ff

Browse files
authored
fix: return err (#2664)
1 parent db73f42 commit 683f0ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ignite/pkg/cosmosaccount/cosmosaccount.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ func (r Registry) GetByName(name string) (Account, error) {
253253
return Account{}, &AccountDoesNotExistError{name}
254254
}
255255
if err != nil {
256-
return Account{}, nil
256+
return Account{}, err
257257
}
258258

259259
acc := Account{

0 commit comments

Comments
 (0)