mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-20 15:52:24 +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)
|
} 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
|
// Fall though !! => browse
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user