aboutsummaryrefslogtreecommitdiffstats
path: root/include/routing.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/routing.h')
-rw-r--r--include/routing.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/routing.h b/include/routing.h
index 28700c1..b07c2c3 100644
--- a/include/routing.h
+++ b/include/routing.h
@@ -125,9 +125,8 @@ namespace crow
);
return;
}
-#ifdef CROW_ENABLE_LOGGING
- std::cerr << "ERROR cannot find handler" << std::endl;
-#endif
+ CROW_LOG_DEBUG << "ERROR cannot find handler" << std::endl;
+
// we already found matched url; this is server error
cparams.res = response(500);
}