mirror of
https://github.com/friendica/friendica
synced 2025-01-22 17:39:47 +00:00
trim whitespaces
This commit is contained in:
parent
fbd056327a
commit
e2f69a04b9
1 changed files with 14 additions and 14 deletions
|
@ -587,7 +587,7 @@ class DBA
|
|||
|
||||
self::$logger->error('DB Error', [
|
||||
'code' => self::$errorno,
|
||||
'error ' => self::$error,
|
||||
'error' => self::$error,
|
||||
'callstack' => System::callstack(8),
|
||||
'params' => self::replaceParameters($sql, $args),
|
||||
]);
|
||||
|
@ -599,12 +599,12 @@ class DBA
|
|||
if (self::$in_retrial) {
|
||||
self::$logger->notice('Giving up retrial because of database error', [
|
||||
'code' => self::$errorno,
|
||||
'error ' => self::$error,
|
||||
'error' => self::$error,
|
||||
]);
|
||||
} else {
|
||||
self::$logger->notice('Couldn\'t reconnect after database error', [
|
||||
'code' => self::$errorno,
|
||||
'error ' => self::$error,
|
||||
'error' => self::$error,
|
||||
]);
|
||||
}
|
||||
exit(1);
|
||||
|
@ -612,7 +612,7 @@ class DBA
|
|||
// We try it again
|
||||
self::$logger->notice('Reconnected after database error', [
|
||||
'code' => self::$errorno,
|
||||
'error ' => self::$error,
|
||||
'error' => self::$error,
|
||||
]);
|
||||
self::$in_retrial = true;
|
||||
$ret = self::p($sql, $args);
|
||||
|
@ -684,7 +684,7 @@ class DBA
|
|||
|
||||
self::$logger->error('DB Error', [
|
||||
'code' => self::$errorno,
|
||||
'error ' => self::$error,
|
||||
'error' => self::$error,
|
||||
'callstack' => System::callstack(8),
|
||||
'params' => self::replaceParameters($sql, $params),
|
||||
]);
|
||||
|
@ -694,7 +694,7 @@ class DBA
|
|||
if ($errorno == 2006) {
|
||||
self::$logger->error('Giving up because of database error', [
|
||||
'code' => self::$errorno,
|
||||
'error ' => self::$error,
|
||||
'error' => self::$error,
|
||||
]);
|
||||
exit(1);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue