You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// functions/__main__.jsconstmyBrokenHelper=require('../helper');/*** A basic Hello World function* @param {string} name Who you're saying hello to* @returns {string}*/module.exports=(name='world',context,callback)=>{try{myBrokenHelper();}catch(e){console.log(e.stack);}callback(null,`hello ${name}`);};
$ lib .
ReferenceError: runtimeError is not defined
at module.exports (/.../stdlib-stacktrace-pls/dev/hello-broken/help
er.js:1:98)
at module.exports (/.../stdlib-stacktrace-pls/dev/hello-broken/func
tions/__main__.js:10:5)
...
Actual Outcome
$ lib .
Error: runtimeError is not defined
The text was updated successfully, but these errors were encountered:
When developing locally stack traces are crucial.
Scenario
Expected Outcome
$ lib . ReferenceError: runtimeError is not defined at module.exports (/.../stdlib-stacktrace-pls/dev/hello-broken/help er.js:1:98) at module.exports (/.../stdlib-stacktrace-pls/dev/hello-broken/func tions/__main__.js:10:5) ...
Actual Outcome
$ lib . Error: runtimeError is not defined
The text was updated successfully, but these errors were encountered: