Problem/Motivation
Hello, I used this module and my page crashed when using the twig extension.
My error log was: "Invalid calendar link data.", which is not very helpful since I was not understanding what was exactly wrong.
Then I changed the code to use the actual error message and I had:
TO time (`2022-08-17 22:00:00`) must be greater than FROM time (`2022-08-19 00:01:40`)
It is way more helpful, you immediately understand what is wrong.
Proposed resolution
I propose to remove the message "Invalid calendar link data." to actually use the error message.
Comments
Comment #3
phjouOk merge request with the changes done, just need review. The change is very simple but so useful!
Comment #5
wellsThanks, @phjou! This is a very useful improvement.