[sr-dev] need for more informative db query error message

Juha Heinanen jh at tutpro.com
Wed May 20 07:38:35 CEST 2015


i saw these kind of error messages in syslog:

May 20 00:32:56 proxy /usr/bin/sip-proxy[27601]: ERROR: db_mysql [km_dbase.c:123]: db_mysql_submit_query(): driver error on query: Lost connection to MySQL server during query
May 20 00:32:56 proxy /usr/bin/sip-proxy[27601]: ERROR: db_mysql [km_dbase.c:145]: db_mysql_async_exec_task(): failed to execute query on async worker

it would be nice of the error message would tell which query was in
question.

-- juha




More information about the sr-dev mailing list