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

Better logs #124

Closed
wants to merge 7 commits into from
Closed

Better logs #124

wants to merge 7 commits into from

Conversation

pavelkrolevets
Copy link
Contributor

@pavelkrolevets pavelkrolevets commented Sep 19, 2024

Fix for #109 and #106

Old version 0.0.1 and 1.0.1 reply with error incorrect offset as they cant ssz unmarshal messages structured differently.
In case of ping to older versions even dont have health_check route, so they reply 404

@pavelkrolevets pavelkrolevets changed the base branch from main to unstable September 19, 2024 16:56
@pavelkrolevets pavelkrolevets changed the title Fix: incorrect offset error Better logs Sep 20, 2024
@@ -84,7 +85,7 @@ func SetViperConfig(cmd *cobra.Command) error {
ConfigPath = viper.GetString("configPath")
if ConfigPath != "" {
if strings.Contains(ConfigPath, "../") {
return fmt.Errorf("😥 configPath should not contain traversal")

Choose a reason for hiding this comment

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

I feel 😢 the emoji is gone...
That's ok though 😛

@pavelkrolevets
Copy link
Contributor Author

closing it in favor of #139 as it has too many conflicts, and no activity.

@pavelkrolevets pavelkrolevets deleted the incorrect-offset-error branch October 8, 2024 10:52
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.

2 participants