We use `_log.error` all throughout EasyBuild currently, which yields nicer error reports (I think). Also, use `err`:

```python
_log.raiseException("Failed to get version from match '%s': %s" % (r.groups(), err))
```