added try/catch in github controller action