N°1746 add a log when CK image upload fails

This commit is contained in:
Pierre Goiffon
2018-11-09 17:39:03 +01:00
parent 216d965d76
commit 6f79c16ba0

View File

@@ -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