Tandysony / opensim4opencog

Exported from code.google.com/p/opensim4opencog
2 stars 2 forks source link

Handle failures during rezfrominventory #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We currently time out in rezfrominventory if it doesn't happen.
Plan as of rightnow is to have the prolog fail

This acutally has lots of architectural implications-
how do we handle these sorts of failures?
Should we have timeouts?
How does this affect botlog?

Original issue reported on code.google.com by anneogb...@gmail.com on 9 Aug 2011 at 4:14

GoogleCodeExporter commented 9 years ago
good questions.. 

Should we throw a prolog exception?

Perhaps if prolog wants failure it could use  a predicate like

fail_on_exception(Call):- catch(Call,E,fail).

Original comment by logicmoo@gmail.com on 1 Jul 2012 at 8:19

GoogleCodeExporter commented 9 years ago

Original comment by logicmoo@gmail.com on 24 Jul 2012 at 11:12