0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00

add error_log() logging to mailbox save failure - see #780

This commit is contained in:
David Goodwin 2024-02-17 20:01:17 +00:00
parent 7eef9a9e93
commit 5c5c36cad7
No known key found for this signature in database

View File

@ -598,6 +598,7 @@ abstract class PFAHandler
$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;
}