Set packed boolean when packing Netmail's is successful

This commit is contained in:
Deon George
2021-08-16 22:30:34 +10:00
parent 628293c741
commit 5bf612e5b4
3 changed files with 10 additions and 5 deletions

View File

@@ -96,6 +96,8 @@ final class Netmail extends Model implements Packet
$o->via = $via;
$o->packed = TRUE;
} catch (\Exception $e) {
Log::error(sprintf('%s:Error converting netmail [%s] to a message (%d:%s)',self::LOGKEY,$this->id,$e->getLine(),$e->getMessage()));
dump($this);