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?
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?