From 303bda92eaf485e7cc3f478c841f7f021415e434 Mon Sep 17 00:00:00 2001 From: Maneesh P M Date: Sat, 8 Jan 2022 16:26:16 +0530 Subject: [PATCH] Test commit, will be rewritten post testing --- src/server/internalServer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/server/internalServer.cpp b/src/server/internalServer.cpp index dddfa1e67..2f171bd7c 100644 --- a/src/server/internalServer.cpp +++ b/src/server/internalServer.cpp @@ -108,10 +108,12 @@ unsigned parseIllustration(const std::string& s) // Returns the value of env var `name` if found, otherwise returns defaultVal unsigned int getCacheLength(const char* name, unsigned int defaultVal) { + std::cout << "retrieving cache size" << endl; try { auto envString = std::getenv(name); return extractFromString(envString); } catch (...) {} + std::cout << "Failed, returning default: " << defaultVal << std::endl; return defaultVal; }