bThink-BGU / BPjs

Environment for running behavioral programs written in JavaScript.
MIT License
36 stars 8 forks source link

Calling bp.thread outside of a bthread yields a wrong message #203

Closed michbarsinai closed 1 year ago

michbarsinai commented 1 year ago

we get a "can't call sync outside of a b-thread", while we need to get a "cannot access a b-thread when not running in one".

michbarsinai commented 1 year ago

See BProgramJSProxy:357