> I think adding a pass is beter here? It's not a problem when this fails, as long as get_core_count() still works.

A simple `pass` is silent, a warning log message also passes through in the end, but at least there's something in the logs...