diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-12-02 19:31:46 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-12-02 19:31:46 +0000 |
| commit | 20b05e120468849dff2cdec44b7309fcaa92cd05 (patch) | |
| tree | 55ae4efc01434f37bb415ec741e033f19286866d | |
| parent | 140ce1c34e9e686212e40f315d5012da8709716f (diff) | |
- add line number to some error messages
git-svn-id: https://svn.roundcube.net/trunk@3149 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/program/steps/mail/sendmail.inc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/roundcubemail/program/steps/mail/sendmail.inc b/roundcubemail/program/steps/mail/sendmail.inc index e8445aa4c..560393cc9 100644 --- a/roundcubemail/program/steps/mail/sendmail.inc +++ b/roundcubemail/program/steps/mail/sendmail.inc @@ -534,8 +534,9 @@ if ($store_target) // raise error if saving failed if (!$saved) { - raise_error(array('code' => 800, 'type' => 'imap', 'file' => __FILE__, - 'message' => "Could not save message in $store_target"), TRUE, FALSE); + raise_error(array('code' => 800, 'type' => 'imap', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Could not save message in $store_target"), TRUE, FALSE); if ($savedraft) { $OUTPUT->show_message('errorsaving', 'error'); @@ -552,8 +553,9 @@ if ($store_target) // raise error if deletion of old draft failed if (!$deleted) - raise_error(array('code' => 800, 'type' => 'imap', 'file' => __FILE__, - 'message' => "Could not delete message from ".$CONFIG['drafts_mbox']), TRUE, FALSE); + raise_error(array('code' => 800, 'type' => 'imap', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Could not delete message from ".$CONFIG['drafts_mbox']), TRUE, FALSE); } } |
