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
Simply importing/requiring this library seems to suppress any uncaught exceptions.
var { Connection } = require("@salesforce/core"); console.log("About to throw an error"); throw new Error("This is an error");
See the error This is an error printed
This is an error
No error printed
If you simply comment out the require (var { Connection } = require("@salesforce/core");) observe that it then prints the error.
var { Connection } = require("@salesforce/core");
SFDX CLI Version(to find the version of the CLI engine run sfdx --version): 3.34.6 (the version of this package)
OS and version: MacOS Venture 13.2.1
The text was updated successfully, but these errors were encountered:
This issue has been linked to a new work item: W-13743129
Sorry, something went wrong.
No branches or pull requests
Summary
Simply importing/requiring this library seems to suppress any uncaught exceptions.
Steps To Reproduce:
Expected result
See the error
This is an error
printedActual result
No error printed
If you simply comment out the require (
var { Connection } = require("@salesforce/core");
) observe that it then prints the error.Additional information
SFDX CLI Version(to find the version of the CLI engine run sfdx --version): 3.34.6 (the version of this package)
OS and version: MacOS Venture 13.2.1
The text was updated successfully, but these errors were encountered: