From e067e88639389a7602bc29c9390e28e93787ff83 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Wed, 7 Aug 2019 00:11:48 +0200 Subject: [PATCH] fix: use drogon logging --- main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cc b/main.cc index 58c6fd5..5a4f649 100644 --- a/main.cc +++ b/main.cc @@ -35,7 +35,7 @@ main() rc = sqlite3_open("test.db", &globals::db); if( rc ) { - fprintf(stderr, "Can't open database: %s\n", sqlite3_errmsg(globals::db)); + LOG_FATAL << "Can't open database: " << sqlite3_errmsg(globals::db); return 1; }