Add exception handling when failing to retrieve a puppetdb metric
Add exception handling when failing to retrieve a puppetdb metric

Prior to this commit, if a single metric fails to be retrieved
from the api then the whole metric script would fail.

This commit adds exception handling that causes the error received
to be logged in place of the metric hash.

Fixes #9

npwalker/pe_metric_curl_cron_jobs,npwalker/pe_metric_curl_cron_jobs