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

Pass Error Information to Godot 4 client #187

Open
RAbsurdum opened this issue Sep 21, 2023 · 0 comments
Open

Pass Error Information to Godot 4 client #187

RAbsurdum opened this issue Sep 21, 2023 · 0 comments

Comments

@RAbsurdum
Copy link

As requested in the HeroicLabs help forums, using "error( )" within a Before Hook on the server (via Lua) results in the Godot4 client receiving a "500: Internal Server Error", which then presents internally as "HTTPRequest failed!" instead of sharing the error message provided originally ( ). Would it be possible to create a way in Lua to interrupt the authentication process and return a message to the client without using "error()"? Or, failing that, could the Godot4 client pass along the provided error message so that it can be used to better inform the user?

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

No branches or pull requests

1 participant