updated error messages for tail.py