Skip to content

Commit

Permalink
Show more detailed errors on fetching - closes #4372
Browse files Browse the repository at this point in the history
  • Loading branch information
freescout-help-desk committed Nov 27, 2024
1 parent ccdbd26 commit b3dbad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Commands/FetchEmails.php
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ public function fetch($mailbox)
$last_error = $client->getLastError();
}
} catch (\Exception $e) {
$last_error = $e->getMessage().'; File: '.$e->getFile().' ('.$e->getLine().')').')';
$last_error = $e->getMessage().'; File: '.$e->getFile().' ('.$e->getLine().')'.')';
}

if ($last_error && stristr($last_error, 'The specified charset is not supported')) {
Expand Down

0 comments on commit b3dbad9

Please sign in to comment.