Improve error handling for sandbox execute command issues.