summaryrefslogtreecommitdiff
path: root/app/Stats.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2017-11-19 19:54:46 +0000
committerGreg Roach <fisharebest@gmail.com>2017-11-19 21:54:25 +0000
commitbd52fa32338513b5d44dc6b1b89178c1bbf60b6a (patch)
tree9f054a3b38792e33ac422fbed45c859ffba30f58 /app/Stats.php
parent33d824dd6b3819ef3838aa81a2eed7430deb432c (diff)
downloadwebtrees-bd52fa32338513b5d44dc6b1b89178c1bbf60b6a.tar.gz
webtrees-bd52fa32338513b5d44dc6b1b89178c1bbf60b6a.tar.bz2
webtrees-bd52fa32338513b5d44dc6b1b89178c1bbf60b6a.zip
Use maximebf/debugbar for development
Diffstat (limited to 'app/Stats.php')
-rw-r--r--app/Stats.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Stats.php b/app/Stats.php
index 242ff8c356..d13bda33f2 100644
--- a/app/Stats.php
+++ b/app/Stats.php
@@ -6526,6 +6526,8 @@ class Stats {
->execute([Auth::id()])
->fetchOne();
} catch (PDOException $ex) {
+ DebugBar::addThrowable($ex);
+
// The module may not be installed, so the table may not exist.
$number = 0;
}
@@ -6544,6 +6546,8 @@ class Stats {
->execute([$this->tree->getTreeId()])
->fetchOne();
} catch (PDOException $ex) {
+ DebugBar::addThrowable($ex);
+
// The module may not be installed, so the table may not exist.
$number = 0;
}