If it's a warning can you please replace this with either a logging output or write to sys.stderr
```python
import sys
sys.stderr.write(msg + '\n')
```