mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-18 23:08:46 +02:00
N°1746 add a log when CK image upload fails
This commit is contained in:
@@ -2453,7 +2453,9 @@ EOF
|
||||
}
|
||||
} catch (FileUploadException $e)
|
||||
{
|
||||
// fail silently ??
|
||||
$sCurrentUserLogin = UserRights::GetUser();
|
||||
$sErrorMessage = "CKE : error when uploading image in ajax.render.php - operation=cke_upload_and_browse,User='$sCurrentUserLogin', class='$sObjClass',exception=$e";
|
||||
IssueLog::Error($sErrorMessage);
|
||||
}
|
||||
// Fall though !! => browse
|
||||
|
||||
|
||||
Reference in New Issue
Block a user