diff --git a/src/market_mad/remotes/one/monitor b/src/market_mad/remotes/one/monitor index 73bce02f73..d5cf02bb38 100755 --- a/src/market_mad/remotes/one/monitor +++ b/src/market_mad/remotes/one/monitor @@ -111,10 +111,13 @@ class OneMarket end end + begin if !app["opennebula_template"].nil? vmtmpl64 = template_to_str(JSON.parse(app["opennebula_template"])) print_var(tmpl, "VMTEMPLATE64", Base64::strict_encode64(vmtmpl64)) end + rescue + end appstr << "APP=\"#{Base64::strict_encode64(tmpl)}\"\n" }