Skip to content

Commit

Permalink
Fix error display.
Browse files Browse the repository at this point in the history
  • Loading branch information
xxsimoxx committed Mar 25, 2020
1 parent 02ab733 commit 48b8507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stats-for-update-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ public function log_request($query) {
if ($insert_status === false) {
$error = $wpdb->last_error;
if (!preg_match('/^Duplicate entry.*for key \'siteslug\'/', $error)) {
$this->warn('Stats for Update Manager insert query error: '.$error);
$this->warn('Stats for Update Manager insert query failed: '.$error);
}
}

Expand Down

0 comments on commit 48b8507

Please sign in to comment.