Skip to content

Conversation

@goodspeed34
Copy link
Contributor

defaultcfg.wavelog_id should be a string as main.js L305 trims it. Because of the mistyped wavelog_id in defaultcfg, send2wavelog yields a "wavelog_id.trim is not a function" TypeError causing a vague and confusing error "Reason: undefined" on the UI.

20250725_19h50m45s_grim

The two undefined combined together (as shown in the image) may be very confusing to the user tricking them to believe it's an internal bug.

After fixing the mistyped property, it shows an error with reason "missing or wrong api key" which, at least, gives the user some clues about their configurations. It's definitely not the best UX with a careless user but I believe this PR would be the first right step towards it.

20250725_20h37m11s_grim

 `defaultcfg.wavelog_id' should be a string as main.js L305 trims it.
Copy link
Contributor

@HB9HIL HB9HIL left a comment

Choose a reason for hiding this comment

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

great find!

@goodspeed34
Copy link
Contributor Author

Users may enter the server url and and api key in the config tab and click Test. After it turns green, they believe they are good to go on air :-p

Copy link
Contributor

@int2001 int2001 left a comment

Choose a reason for hiding this comment

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

Good one. Sorry

@HB9HIL HB9HIL merged commit 1faba26 into wavelog:dev Jul 25, 2025
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.

3 participants