dollabs / pamela

Probabalistic Advanced Modeling and Execution Learning Architecture
Apache License 2.0
233 stars 13 forks source link

When in repl, log message and do not throw exception. #60

Closed pmdoll closed 7 years ago

pmdoll commented 7 years ago

When in repl, log message and do not throw exception.

dcerys commented 7 years ago

The explicit throw of an exception what put in there intentionally (even for status=0), and Tom mentioned this to me once, but I've forgotten the purpose. Perhaps, it provides a feature when in CIDER/emacs? Tom, please comment.

pmdoll commented 7 years ago

I am writing a unit test to generate both edn and json variants of HTN and TPN. When the exception is thrown, either edn or json files are generated but not both. I could catch the exception if necessary.