From 1176ce427113face73c48c4b2e4e5a810577b355 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 28 Oct 2019 23:50:01 +0000 Subject: Improve timeout error messaging --- utils/messages.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'utils/messages.c') diff --git a/utils/messages.c b/utils/messages.c index 0d2085c08..197d45ea6 100644 --- a/utils/messages.c +++ b/utils/messages.c @@ -333,6 +333,10 @@ const char *messages_get_errorcode(nserror code) case NSERROR_BAD_CERTS: /* Certificate chain verification failure */ return messages_get_ctx("CertificateVerificationNeeded", messages_hash); + + case NSERROR_TIMEOUT: + /* Operation timed out */ + return messages_get_ctx("Timeout", messages_hash); } /* The switch has no default, so the compiler should tell us when we -- cgit v1.2.3