fix: use drogon logging
This commit is contained in:
parent
51c7dd0ece
commit
e067e88639
1 changed files with 1 additions and 1 deletions
2
main.cc
2
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue