[gnome-db] About gda_log_error
- From: Sumit Kumar Jain <sumitskj_20 yahoo com>
- To: gnome-db-list gnome org
- Subject: [gnome-db] About gda_log_error
- Date: Tue, 30 Oct 2007 21:30:32 -0700 (PDT)
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."));
return;
}
...
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.
Regards,
Sumit
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]