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.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

phjou created an issue. See original summary.

phjou’s picture

Status: Active » Needs review

Ok merge request with the changes done, just need review. The change is very simple but so useful!

  • wells committed 31b7807 on 3.0.x authored by phjou
    Issue #3304703 by phjou: Improve debugging logs
    
wells’s picture

Status: Needs review » Fixed

Thanks, @phjou! This is a very useful improvement.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.