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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
import alt from 'alt-server' alt.on('resourceError', (...args) => { alt.log('resourceError', args) }) alt.setTimeout(() => { throw new Error('test') }, 500)
The text was updated successfully, but these errors were encountered:
Fixed in 3ef9644 - if you find anything missing feel free to re-open this issue.
Sorry, something went wrong.
@xLuxy
line is incorrect, in v1 it shows exact line of throw, in v2 it shows line where closure is defined
alt.on('resourceError', (error, file, line, stack) => { alt.log('resourceError', { error, file, line, stack }) }) alt.setTimeout(() => { // 103 alt.log("test") alt.log("test") throw new Error('test') // 106 }, 500)
v1:
v2:
xLuxy
No branches or pull requests
code
v1
v2 (v1 compat)
The text was updated successfully, but these errors were encountered: