Skip to content

Commit

Permalink
add error_log() logging to mailbox save failure - see #780
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGoodwin committed Feb 17, 2024
1 parent 22a82f5 commit 9370654
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions model/PFAHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,7 @@ public function save(): bool
$result = db_update($this->db_table, $this->id_field, $this->id, $db_values, array('modified'), true);
}
} catch (PDOException $e) {
error_log(__FILE__ . " - failed to save mailbox; message : " . $e->getMessage()); // see #780
$this->errormsg[] = Config::lang_f($this->msg['store_error'], $this->label);
return false;
}
Expand Down

0 comments on commit 9370654

Please sign in to comment.