Commit f5acc7f4 authored by Ad Schellevis's avatar Ad Schellevis
parent 87d2cc6f
......@@ -469,7 +469,8 @@ abstract class BaseModel
if ($messages->count() > 0) {
$exception_msg = "";
foreach ($messages as $msg) {
$exception_msg_part = "[".str_replace("\\", ".", get_class($this)).".".$msg-> getField(). "] " .$msg->getMessage();
$exception_msg_part = "[".str_replace("\\", ".", get_class($this)).".".$msg-> getField(). "] " ;
$exception_msg_part .= $msg->getMessage();
$exception_msg .= "$exception_msg_part\n";
// always log validation errors
$logger->error($exception_msg_part);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment