Skip to content

Commit

Permalink
Change error to warning for "could not find db in matomo table" (mira…
Browse files Browse the repository at this point in the history
  • Loading branch information
paladox authored Jan 29, 2023
1 parent 19b1dee commit 5fa48ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/MatomoAnalytics.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public static function getSiteID( string $dbname, bool $disableCache = false ) {
);

if ( !isset( $id ) || !$id ) {
$logger->error( "Could not find {$dbname} in matomo table." );
$logger->warning( "Could not find {$dbname} in matomo table." );

// Because the site is not found in the matomo table,
// we default to a value set in 'MatomoAnalyticsSiteID' which is 1.
Expand Down

0 comments on commit 5fa48ec

Please sign in to comment.