Minor fix on handling exceptions for consistent metric