-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
When an error occurs, we should panic if the error is significant or rarely occurs, to prevent silently ignoring important errors.
Some of examples are:
budget/x/budget/keeper/budget.go
Lines 22 to 25 in 6bae189
| budgetSourceAcc, err := sdk.AccAddressFromBech32(budgetSource) | |
| if err != nil { | |
| continue | |
| } |
budget/x/budget/keeper/budget.go
Lines 35 to 38 in 6bae189
| collectionAcc, err := sdk.AccAddressFromBech32(budget.CollectionAddress) | |
| if err != nil { | |
| continue | |
| } |
budget/x/budget/keeper/budget.go
Lines 50 to 52 in 6bae189
| if err := k.bankKeeper.InputOutputCoins(ctx, inputs, outputs); err != nil { | |
| continue | |
| } |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working