mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-09 06:50:35 +01:00
added function-backtrace to db-error-messages
This commit is contained in:
parent
cb12c82707
commit
94a2f4e043
@ -330,6 +330,7 @@
|
|||||||
{
|
{
|
||||||
printf("<br><b>Line:</b> %s",$line);
|
printf("<br><b>Line:</b> %s",$line);
|
||||||
}
|
}
|
||||||
|
printf("<br><b>Function:</b> %s\n",function_backtrace());
|
||||||
|
|
||||||
if ($this->Halt_On_Error != "report")
|
if ($this->Halt_On_Error != "report")
|
||||||
{
|
{
|
||||||
|
@ -430,6 +430,7 @@
|
|||||||
{
|
{
|
||||||
printf("<br><b>Line:</b> %s",$line);
|
printf("<br><b>Line:</b> %s",$line);
|
||||||
}
|
}
|
||||||
|
printf("<br><b>Function:</b> %s\n",function_backtrace());
|
||||||
|
|
||||||
if ($this->Halt_On_Error != "report")
|
if ($this->Halt_On_Error != "report")
|
||||||
{
|
{
|
||||||
|
@ -437,6 +437,15 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this->xmlrpc || $this->soap)
|
||||||
|
{
|
||||||
|
$s .= sprintf("Function/Module: %s\n",function_backtrace());
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$s .= sprintf("<br><b>Function/Module:</b> %s\n",function_backtrace());
|
||||||
|
}
|
||||||
|
|
||||||
if ($this->Halt_On_Error == 'yes')
|
if ($this->Halt_On_Error == 'yes')
|
||||||
{
|
{
|
||||||
if (! $this->xmlrpc && ! $this->soap)
|
if (! $this->xmlrpc && ! $this->soap)
|
||||||
@ -456,8 +465,15 @@
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
echo $s;
|
echo $s;
|
||||||
|
if (is_object($GLOBALS['phpgw']->common))
|
||||||
|
{
|
||||||
$GLOBALS['phpgw']->common->phpgw_exit(True);
|
$GLOBALS['phpgw']->common->phpgw_exit(True);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function table_names()
|
function table_names()
|
||||||
|
Loading…
Reference in New Issue
Block a user