[TRACERT] Improve error handling and output (#319)