Refactor error-handling
The following discussion from !1 (merged) should be addressed:
-
@erxleb87 started a discussion: An exception would have done the job here as well. No need to play around with
sys
.Also it would be more graceful to skip the metric that is not recognized.