summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2022-07-01 04:09:06 +0300
committerEd Tanous <ed@tanous.net>2022-07-14 18:21:00 +0300
commit6f2cd97af276d001d2ea40cb25bd19176767de7a (patch)
tree6af7559f8cec616f8fe07f4fde281f0108c6d459 /src
parentef641b657486ed7d4003ec8c2b0d0329cda288b8 (diff)
downloadbmcweb-6f2cd97af276d001d2ea40cb25bd19176767de7a.tar.xz
Move errant logging statement
Log statement was after the return, so therefore didn't do anything. cppcheck found. Tested: No way to test without a bug that causes an uncaught exception. Code review only. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I5a4ae7d5ac83065040e3c4d9e390b5883fd0f1f9
Diffstat (limited to 'src')
-rw-r--r--src/webserver_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webserver_main.cpp b/src/webserver_main.cpp
index c306dea958..b68e167527 100644
--- a/src/webserver_main.cpp
+++ b/src/webserver_main.cpp
@@ -160,7 +160,7 @@ int main(int /*argc*/, char** /*argv*/)
}
catch (...)
{
- return -1;
BMCWEB_LOG_CRITICAL << "Threw exception to main";
+ return -1;
}
}