NetLogo / LevelSpace

This is the LevelSpace extension repository. LevelSpace allows you to run NetLogo models |: from inside NetLogo models :|
Other
19 stars 8 forks source link

Certain exceptions aren't trickling up with LS #61

Closed qiemem closed 8 years ago

qiemem commented 8 years ago

To reproduce:

ls:load-headless-model "whatever.nlogo"
ls:ask 0 [ error "hi" ]

Compare this to:

ls:load-headless-model "whatever.nlogo"
ls:ask 0 [ 1 / 0 ]

and:

ls:load-gui-model "whatever.nlogo"
ls:ask 0 [ error "hi" ]

I believe the gui child model is reporting the error itself in this case, thus why we're seeing it.