Log error in command watcher