Skip to content
This repository has been archived by the owner on Dec 10, 2022. It is now read-only.

Error when Language in COMM is empty #24

Open
Mabenan opened this issue Dec 17, 2021 · 1 comment
Open

Error when Language in COMM is empty #24

Mabenan opened this issue Dec 17, 2021 · 1 comment

Comments

@Mabenan
Copy link

Mabenan commented Dec 17, 2021

At the moment an Exception NoSuchMethod is thrown when COMM is defined but without the language that is defined.

we should move

if (metaTags['COMM'][language] == null) {

below
}

Then it is ensured that

metaTags['COMM'][language][shortDescription] = text;
wont throw an exception

@Mabenan
Copy link
Author

Mabenan commented Dec 17, 2021

#25 Should fix it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant