mirror of
https://github.com/friendica/friendica
synced 2025-04-25 10:30:12 +00:00
more instrumentation
This commit is contained in:
parent
c7c3db8c54
commit
66a6fd8df0
3 changed files with 10 additions and 2 deletions
|
@ -57,6 +57,10 @@ class dba {
|
|||
break;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if(($result === false) && (file_exists('dbfail.out')))
|
||||
file_put_contents('dbfail.out', printable($sql) . ' returned false' . "\n", FILE_APPEND);
|
||||
}
|
||||
|
||||
if(($result === true) || ($result === false))
|
||||
return $result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue