diff --git a/src/WebApi_prometheus.cpp b/src/WebApi_prometheus.cpp index 678323c1..77675ee7 100644 --- a/src/WebApi_prometheus.cpp +++ b/src/WebApi_prometheus.cpp @@ -92,7 +92,7 @@ void WebApiPrometheusClass::onPrometheusMetricsGet(AsyncWebServerRequest* reques request->send(stream); } catch (std::bad_alloc& bad_alloc) { - MessageOutput.printf("Call to /api/prometheus/metrics temporarely out of resources. Reason: \"%s\".", bad_alloc.what()); + MessageOutput.printf("Call to /api/prometheus/metrics temporarely out of resources. Reason: \"%s\".\r\n", bad_alloc.what()); auto response = request->beginResponse(429, "text/plain", "Too Many Requests"); response->addHeader("Retry-After", "60"); diff --git a/src/WebApi_ws_live.cpp b/src/WebApi_ws_live.cpp index 0e2cd61f..3fb42ecb 100644 --- a/src/WebApi_ws_live.cpp +++ b/src/WebApi_ws_live.cpp @@ -80,7 +80,7 @@ void WebApiWsLiveClass::loop() _lastWsPublish = millis(); } catch (std::bad_alloc& bad_alloc) { - MessageOutput.printf("Call to /api/livedata/status temporarely out of resources. Reason: \"%s\".", bad_alloc.what()); + MessageOutput.printf("Call to /api/livedata/status temporarely out of resources. Reason: \"%s\".\r\n", bad_alloc.what()); } } } diff --git a/src/WebApi_ws_vedirect_live.cpp b/src/WebApi_ws_vedirect_live.cpp index d7407f47..31654a5a 100644 --- a/src/WebApi_ws_vedirect_live.cpp +++ b/src/WebApi_ws_vedirect_live.cpp @@ -76,7 +76,7 @@ void WebApiWsVedirectLiveClass::loop() _lastWsPublish = millis(); } catch (std::bad_alloc& bad_alloc) { - MessageOutput.printf("Call to /api/vedirectlivedata/status temporarely out of resources. Reason: \"%s\".", bad_alloc.what()); + MessageOutput.printf("Call to /api/vedirectlivedata/status temporarely out of resources. Reason: \"%s\".\r\n", bad_alloc.what()); } } }