Skip to content

Commit

Permalink
include original error
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent committed Sep 4, 2024
1 parent 6d1d430 commit 7fc19d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/util/ledger/migrations/staged_contracts_migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ func (m *StagedContractsMigration) MigrateAccount(
(func() {
defer func() {
if r := recover(); r != nil {
errorDetails = fmt.Sprintf("failed to pretty print error, panic: %v", r)
errorDetails = fmt.Sprintf("failed to pretty print error\nerr: %v\npanic: %v", err, r)
}
}()

Expand Down

0 comments on commit 7fc19d0

Please sign in to comment.