Catchall clause when submitting metrics

Submission errors (usually network issues to the metrics server) are now logged and don't crash the script any more.