diff options
author | Fu Siyuan <siyuan.fu@intel.com> | 2017-11-13 15:20:37 +0800 |
---|---|---|
committer | Fu Siyuan <siyuan.fu@intel.com> | 2017-11-16 14:08:18 +0800 |
commit | fca04738c94394277725a3ede6da9e887d6fae12 (patch) | |
tree | 06b5a1749b28aae0f76f04e100b1ac8c26f53a63 /NetworkPkg/HttpDxe | |
parent | 5d8aa7eb6f8f4ba6c0f06c16aed1347861c44d24 (diff) | |
download | edk2-fca04738c94394277725a3ede6da9e887d6fae12.tar.gz edk2-fca04738c94394277725a3ede6da9e887d6fae12.tar.bz2 edk2-fca04738c94394277725a3ede6da9e887d6fae12.zip |
NetworkPkg: Print error message to screen if error occurs during HTTP boot.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Diffstat (limited to 'NetworkPkg/HttpDxe')
-rw-r--r-- | NetworkPkg/HttpDxe/HttpImpl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/NetworkPkg/HttpDxe/HttpImpl.c b/NetworkPkg/HttpDxe/HttpImpl.c index 46d0323050..57fa39f094 100644 --- a/NetworkPkg/HttpDxe/HttpImpl.c +++ b/NetworkPkg/HttpDxe/HttpImpl.c @@ -523,6 +523,7 @@ EfiHttpRequest ( FreePool (HostNameStr);
if (EFI_ERROR (Status)) {
+ DEBUG ((EFI_D_ERROR, "Error: Could not retrieve the host address from DNS server.\n"));
goto Error1;
}
}
|