I'm thinking it would be helpful to have a linter to flag agent calls that don't have either :error-mode or :error-handler -- off by default -- since these indicate agents that could "break" and need to be restarted. Thoughts? (asking for a friend... ahem...)
you could write a hook for this (for now)
Oh? I haven't looked into hooks too much, but yeah, I guess I could... I'll create a Jira at work to look into that next week in an idle moment.
yeah you could use an :analyze-call hook for agent, lint the arguments and detect the non-presence of the keywords, throw an exception or call reg-finding! and then just return nil so the linter will proceed with linting the code
Thanks. Added that to my Jira ticket.