Increase logging on the type of file if it isnt a mail packet

This commit is contained in:
Deon George 2023-01-24 21:42:57 +11:00
parent d9b575b38f
commit bc19f9aa82

View File

@ -36,7 +36,7 @@ class File extends FileBase implements \Iterator
};
default:
Log::alert(sprintf('%s:? Unknown file received: %s',self::LOGKEY,$x));
Log::alert(sprintf('%s:? Unknown file received: %s (%s) [%s]',self::LOGKEY,$x,$this->getExtension(),$path instanceof UploadedFile ? $path->getClientOriginalExtension() : '-'));
}
}