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
When you made an error in async onInit the error is not displayed on the terminal
There should be an error on the terminal, so you can easily find it
Errors are only in the Dev Tools console
var term = $('body').terminal({}, { onInit: async function() { term.echo('Hello'); } });
This is a common error onInit is called before terminal returns, so you can't use term variable.
The text was updated successfully, but these errors were encountered:
handle promise rejection in onInit #691
8da7fa5
No branches or pull requests
Issue summary
When you made an error in async onInit the error is not displayed on the terminal
Expected behavior
There should be an error on the terminal, so you can easily find it
Actual behavior
Errors are only in the Dev Tools console
Steps to reproduce
This is a common error onInit is called before terminal returns, so you can't use term variable.
The text was updated successfully, but these errors were encountered: