Increase logging on the type of file if it isnt a mail packet
This commit is contained in:
parent
d9b575b38f
commit
bc19f9aa82
@ -36,7 +36,7 @@ class File extends FileBase implements \Iterator
|
|||||||
};
|
};
|
||||||
|
|
||||||
default:
|
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() : '-'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user