agmanager: added try-catch block
agmanager: added try-catch block

policycompass/policycompass-frontend,policycompass/policycompass-frontend,policycompass/policycompass-frontend,mmilaprat/policycompass-frontend,mmilaprat/policycompass-frontend,mmilaprat/policycompass-frontend