We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
undefined
This bug does not present in v2, I created this issue here to let people know it exists in v1
import alt from "alt-server"; alt.on("playerConnect", async (player) => { const res = await player.emitRpc("test", [1, 2, 3]); alt.log({ res }); // logs { res: undefined } });
import alt from "alt-client"; alt.onRpc("test", async (data) => { throw new Error("test error"); });
Promise should be rejected with error message as in v2
No response
Windows 11
16.0.0-dev.318
shared
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description of the problem
This bug does not present in v2, I created this issue here to let people know it exists in v1
Reproduction steps
Expected behaviour
Promise should be rejected with error message as in v2
Additional context
No response
Operating system
Windows 11
Version
16.0.0-dev.318
Scope
shared
Reproduction tested
The text was updated successfully, but these errors were encountered: