Open michaelklishin opened 10 years ago
Yes, that's a problem that's bitten a few people, including myself a few times. The solution may be to have start return a value, rather than the system, and limit access to the system map.
On 27 January 2014 20:27, Michael Klishin notifications@github.com wrote:
When a lifecycle function (e.g. start) returns something other than systemby mistake, you get really obscure exceptions from Jig runner.
It should validate the returned value and complain if it is not what's expected.
— Reply to this email directly or view it on GitHubhttps://github.com/juxt/jig/issues/12 .
When a lifecycle function (e.g.
start
) returns something other thansystem
by mistake, you get really obscure exceptions from Jig runner.It should validate the returned value and complain if it is not what's expected.