From bea6978098c4191701e1fbfbd3f3552e9ed7ea23 Mon Sep 17 00:00:00 2001 From: Just Call Me Koko Date: Wed, 18 Oct 2023 07:53:19 -0400 Subject: [PATCH] Fix error output --- esp32_marauder/EvilPortal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esp32_marauder/EvilPortal.cpp b/esp32_marauder/EvilPortal.cpp index c55b783..f97c4a2 100644 --- a/esp32_marauder/EvilPortal.cpp +++ b/esp32_marauder/EvilPortal.cpp @@ -68,10 +68,10 @@ bool EvilPortal::setHtml() { File html_file = sd_obj.getFile("/" + this->target_html_name); if (!html_file) { #ifdef HAS_SCREEN - this->sendToDisplay("Could not find /index.html."); + this->sendToDisplay("Could not find /" + this->target_html_name); this->sendToDisplay("Touch to exit..."); #endif - Serial.println("Could not find /index.html. Use stopscan..."); + Serial.println("Could not find /" + this->target_html_name + ". Use stopscan..."); return false; } else {