agent: handle errors when creating main object
agent: handle errors when creating main object

safchain/skydive,safchain/skydive,lebauce/skydive,safchain/skydive,safchain/skydive,skydive-project/skydive,lebauce/skydive,skydive-project/skydive,lebauce/skydive,skydive-project/skydive,safchain/skydive,lebauce/skydive,lebauce/skydive,skydive-project/skydive,skydive-project/skydive,lebauce/skydive,lebauce/skydive,skydive-project/skydive,skydive-project/skydive,safchain/skydive,lebauce/skydive,safchain/skydive,safchain/skydive