mirror of
https://github.com/pi-hole/web.git
synced 2026-05-08 09:39:05 +01:00
Add pretty-printing for message type DNSMASQ_WARN (#1973)
* Add pretty-printing for message type DNSMASQ_WARN Signed-off-by: DL6ER <dl6er@dl6er.de> * Fix prettier Signed-off-by: Christian König <ckoenig@posteo.de> Co-authored-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
@@ -88,6 +88,9 @@ function renderMessage(data, type, row) {
|
||||
" seconds)"
|
||||
);
|
||||
|
||||
case "DNSMASQ_WARN":
|
||||
return "Warning in <code>dnsmasq</code> core:<pre>" + row.message + "</pre>";
|
||||
|
||||
default:
|
||||
return "Unknown message type<pre>" + JSON.stringify(row) + "</pre>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user