Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7ebe8e8 authored by Vasu Nori's avatar Vasu Nori
Browse files

bug:2868568 reduce the message level from error to warning

it is a rather harmless message. no need to set ERROR level
and no need to make it sound so fatal

Change-Id: I9d00563a3b869d8223cb21a98014c02535021d11
parent a6c2ddbf
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -91,7 +91,7 @@ static void registerLoggingFunc(const char *path) {
    LOGV("Registering sqlite logging func \n");
    LOGV("Registering sqlite logging func \n");
    int err = sqlite3_config(SQLITE_CONFIG_LOG, &sqlLogger, (void *)createStr(path, 0));
    int err = sqlite3_config(SQLITE_CONFIG_LOG, &sqlLogger, (void *)createStr(path, 0));
    if (err != SQLITE_OK) {
    if (err != SQLITE_OK) {
        LOGE("sqlite_config failed error_code = %d. THIS SHOULD NEVER occur.\n", err);
        LOGW("sqlite returned error = %d when trying to register logging func.\n", err);
        return;
        return;
    }
    }
    loggingFuncSet = true;
    loggingFuncSet = true;