[gnome-db] About gda_log_error

 Hi All,
I have one query regarding gda_log_error. gda gda_log_error is used as (taking example from gda_init())

if (initialized) {
        gda_log_error (_("Attempt to re-initialize GDA library. ignored."));

In gda_log_error function the g_log is called as

g_log ("Gda", G_LOG_LEVEL_ERROR, "%s", msg);

With the log level set to G_LOG_LEVEL_ERROR the application will abort and the return statement will never get executed. I think this is not the intention. The intention should be to report the error and go forward. So the log level should be set to a lower level like G_LOG_LEVEL_WARNING.


Chat on a cool, new interface. No download required. Click here.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]