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

harness account - fails to fetch account details #42

Open
Ompragash opened this issue Sep 6, 2023 · 0 comments
Open

harness account - fails to fetch account details #42

Ompragash opened this issue Sep 6, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Ompragash
Copy link
Collaborator

Executing the command harness account fails with the below error:

panic: runtime error: index out of range [-1]

goroutine 1 [running]:
main.GetUrlWithQueryParams({0x13c1460?, 0xc00013b5b0?}, {0xc000228870, 0x25}, {0x1423610, 0x9}, 0xc000225520?)
	/github/workspace/utils.go:55 +0x28a
main.getAccountDetails(0xc000230a08?)
	/github/workspace/account.go:13 +0x170
main.cliWrapper(0x13b13c0?, 0xc00021c801?)
	/github/workspace/main.go:382 +0x82
main.main.func23(0xc0002f62c0?)
	/github/workspace/main.go:361 +0x25
github.com/urfave/cli/v2.(*Command).Run(0xc0002f62c0, 0xc00021c800, {0xc00020b510, 0x1, 0x1})
	/go/pkg/mod/github.com/urfave/cli/[email protected]/command.go:274 +0xa42
github.com/urfave/cli/v2.(*Command).Run(0xc0002f6580, 0xc00021c500, {0xc000014040, 0x2, 0x2})
	/go/pkg/mod/github.com/urfave/cli/[email protected]/command.go:267 +0xc97
github.com/urfave/cli/v2.(*App).RunContext(0xc0002f41e0, {0x14cf7a0?, 0xc00001e0b8}, {0xc000014040, 0x2, 0x2})
	/go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:332 +0x616
github.com/urfave/cli/v2.(*App).Run(...)
	/go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:309
main.main()
	/github/workspace/main.go:369 +0x21e5
@nicholaslotz nicholaslotz added the bug Something isn't working label Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants