Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bridge: panic: interface conversion: interface {} is nil, not string #936

Closed
sameh-farouk opened this issue Jan 15, 2024 · 2 comments
Closed
Labels
type_bug Something isn't working
Milestone

Comments

@sameh-farouk
Copy link
Member

devnet logs shows this error

panic: interface conversion: interface {} is nil, not string

goroutine 1 [running]:
github.com/threefoldtech/tfchain_bridge/pkg/logger.GetRefundReason(...)
	/src/bridge/tfchain_bridge/pkg/logger/logger.go:38
github.com/threefoldtech/tfchain_bridge/pkg/bridge.(*Bridge).handleRefundExpired(0xc0002d4930, {0x901e40, 0xc00009e7c0}, {{0xc00051e2c0, 0x40}, {0xc00051e300, 0x38}, 0x9184e72a000})
	/src/bridge/tfchain_bridge/pkg/bridge/refund.go:61 +0x69c
github.com/threefoldtech/tfchain_bridge/pkg/bridge.(*Bridge).Start(0xc0002d4930, {0x901e40, 0xc00009e7c0})
	/src/bridge/tfchain_bridge/pkg/bridge/bridge.go:177 +0xad6
main.main()
	/src/bridge/tfchain_bridge/main.go:70 +0x807
@xmonader
Copy link
Contributor

https://github.com/threefoldtech/tfchain/blob/development/bridge/tfchain_bridge/pkg/logger/logger.go#L38

Probably the Ctx value wasn't set

@sameh-farouk sameh-farouk added the type_bug Something isn't working label Jan 21, 2024
@sameh-farouk sameh-farouk moved this to In Progress in 3.13.x Jan 21, 2024
@sameh-farouk sameh-farouk added this to the 2.7.0 milestone Jan 21, 2024
@sameh-farouk sameh-farouk moved this from In Progress to Pending review in 3.13.x Jan 21, 2024
@renauter renauter moved this from Pending review to Pending Deployment in 3.13.x Jan 24, 2024
@sameh-farouk sameh-farouk moved this from Pending Deployment to In Verification in 3.13.x Jan 28, 2024
@sameh-farouk
Copy link
Member Author

Update:
Verified

The error has been resolved after deploying the fix. It is no longer showing up.

@github-project-automation github-project-automation bot moved this from In Verification to Done in 3.13.x Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type_bug Something isn't working
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants