Not a bug Server error log truncates content

W1zzard

Well-known member
Licensed customer
Affected version
2.0.0 RC2
The server error log truncates strings way too early, and stores them like that in the database, so there is no way to get the error details.

nxrwd2yvlz.jpg


Maybe truncate at 255 in the database and truncate once again in the UI with a button to expand
 
This is actually coming from PHP's own trace dumping function: http://php.net/manual/en/throwable.gettraceasstring.php I'm not aware of any way to modify that function (short of entirely rolling our own version, which I don't see as necessary/compelling), thus I don't think there will be a change here/this is expected.

Though I'd note the line you highlighted isn't really a good example as the full message is at the top.
 
I was wondering about the second argument, the directory it tried to create, sorry for sloppy highlighting.
 
The second argument is the file it occurred in (third is the line number), though yes the path is cut off elsewhere too.
 
Back
Top Bottom