Fuller message in asserts.
This commit is contained in:
parent
54b6271c55
commit
57ad30f105
@ -257,7 +257,7 @@ poll_add_dcb(DCB *dcb)
|
||||
dcb,
|
||||
STRDCBSTATE(dcb->state))));
|
||||
}
|
||||
ss_dassert(rc == 0); /*< trap in debug */
|
||||
ss_info_dassert(rc == 0, "Unable to add poll"); /*< trap in debug */
|
||||
} else {
|
||||
LOGIF(LE, (skygw_log_write_flush(
|
||||
LOGFILE_ERROR,
|
||||
|
@ -1918,7 +1918,7 @@ char* replace_literal(
|
||||
}
|
||||
|
||||
rc = regcomp(&re, search_re, REG_EXTENDED|REG_ICASE);
|
||||
ss_dassert(rc == 0);
|
||||
ss_info_dassert(rc == 0, "Regex check");
|
||||
|
||||
if (rc != 0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user