...G...... [DEV-2207] fixed agentd exception catching, in agent2 added logging before calling C code
* commit '807d6f88b4fb98c35a6dfb2de71df8100bd4db6e':
...G...... [DEV-2207] added mising includes on linux
...G...... [DEV-2207] agentd fixes for exception catching, added logging to agent2 before C calls