mirror of
https://github.com/Aviortheking/DeltaCMS.git
synced 2025-07-29 21:19:50 +00:00
Finished Logger tests
This commit is contained in:
@ -59,7 +59,7 @@ class Logger extends AbstractLogger
|
||||
file_put_contents($this->file, $this->fillMessage($this->start . $this->exception, $context), FILE_APPEND);
|
||||
}
|
||||
if ($message === null && !isset($context["exception"])) {
|
||||
throw new InvalidArgumentException("no exception nor message was found");
|
||||
throw new InvalidArgumentException("Message and Exception not set");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user