dnsexit2: Combine related log messages

This commit is contained in:
Richard Hansen 2024-05-30 18:02:45 -04:00
parent 24a22092ca
commit f7f4856b93

View file

@ -4222,9 +4222,8 @@ sub nic_dnsexit2_update {
next; next;
} }
if (!defined($response->{'code'}) || !defined($response->{'message'})) { if (!defined($response->{'code'}) || !defined($response->{'message'})) {
failed("Did not receive expected \"code\" and \"message\" keys in server response."); failed("Did not receive expected 'code' and 'message' keys in server response:\n%s",
failed("Response:"); $response);
failed("%s", $response);
next; next;
} }
my %codemeaning = ( my %codemeaning = (