summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-12-27 16:15:57 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2020-12-27 16:15:57 +0000
commit1af8faa48191a9d92ccff04fc0492d0a5141ce69 (patch)
tree715533bc6f0edfc40b093626be1e5045ee64892f
parentSimplify some code gen (diff)
downloadicespider-0.6.5.tar.bz2
icespider-0.6.5.tar.xz
icespider-0.6.5.zip
Allow recursion betwen process and handleErroricespider-0.6.5
-rw-r--r--icespider/core/core.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/icespider/core/core.cpp b/icespider/core/core.cpp
index aa1f02a..989dcfb 100644
--- a/icespider/core/core.cpp
+++ b/icespider/core/core.cpp
@@ -61,6 +61,7 @@ namespace IceSpider {
}
void
+ // NOLINTNEXTLINE(misc-no-recursion)
Core::process(IHttpRequest * request, const IRouteHandler * route) const
{
try {
@@ -79,6 +80,7 @@ namespace IceSpider {
}
void
+ // NOLINTNEXTLINE(misc-no-recursion)
Core::handleError(IHttpRequest * request, const std::exception & exception) const
{
auto errorHandlers = AdHoc::PluginManager::getDefault()->getAll<ErrorHandler>();