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

Fix issue at prefix explorer #50

Closed
wants to merge 0 commits into from
Closed

Fix issue at prefix explorer #50

wants to merge 0 commits into from

Conversation

asgardius
Copy link

Add and url decoder to fix #35

butuzov
butuzov approved these changes Dec 22, 2023
Comment on lines 44 to 45
log.Fatal(rqerr)
return
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What the reason you calling here log.Fatal ?

P.S.
Should a Go package ever use log.Fatal and when?

Suggested change
log.Fatal(rqerr)
return
handleHTTPError(w, err)
return

@@ -9,6 +9,8 @@ import (
"regexp"
"strings"
"time"
"net/url"
"log"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And remove "log"...

Copy link

@butuzov butuzov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my bad, please consider changing code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot access files in sub-directories
2 participants