commit | c3680ecdf83e813fda6b9dd9231dfdb8611b3ea7 | [log] [tgz] |
---|---|---|
author | Andjelko Iharos <aiharos@haproxy.com> | Thu Jul 20 16:49:14 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Sep 13 13:38:32 2017 +0200 |
tree | 7a93194d778d4a1544c49ba8d453aa3a11dbff64 | |
parent | c4df59e91487ca78851a742adb70322264bd6992 [diff] [blame] |
MINOR: add severity information to cli feedback messages
diff --git a/src/proto_http.c b/src/proto_http.c index 634a002..fb5c085 100644 --- a/src/proto_http.c +++ b/src/proto_http.c
@@ -13113,6 +13113,7 @@ appctx->ctx.errors.iid = atoi(args[2]); if (!appctx->ctx.errors.iid) { + appctx->ctx.cli.severity = LOG_ERR; appctx->ctx.cli.msg = "No such proxy.\n"; appctx->st0 = CLI_ST_PRINT; return 1;