diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-08-17 13:31:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-17 13:31:08 +0200 |
commit | de4aabe89b7b68677f145f21c956183bbc92f686 (patch) | |
tree | 20b2e819d599d6d1bd459bb51880c31e97cfe825 /drivers/unix/ip_unix.cpp | |
parent | 40640a01dc90be00e55e4eef3c7800401ef63b18 (diff) | |
parent | 71d71d55b5c0d6da4d1555823ac432bf0b33389a (diff) | |
download | redot-engine-de4aabe89b7b68677f145f21c956183bbc92f686.tar.gz |
Merge pull request #31244 from Unholydeath/BB_ChangeErrorMacros
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/'
Diffstat (limited to 'drivers/unix/ip_unix.cpp')
-rw-r--r-- | drivers/unix/ip_unix.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/unix/ip_unix.cpp b/drivers/unix/ip_unix.cpp index ce66f07a19..ac7195abc1 100644 --- a/drivers/unix/ip_unix.cpp +++ b/drivers/unix/ip_unix.cpp @@ -184,9 +184,7 @@ void IP_Unix::get_local_interfaces(Map<String, Interface_Info> *r_interfaces) co continue; // will go back and alloc the right size }; - ERR_EXPLAIN("Call to GetAdaptersAddresses failed with error " + itos(err)); - ERR_FAIL(); - return; + ERR_FAIL_MSG("Call to GetAdaptersAddresses failed with error " + itos(err) + "."); }; IP_ADAPTER_ADDRESSES *adapter = addrs; |