Do not assert when default json parse failed 50/318550/3
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 2 Oct 2024 06:23:50 +0000 (15:23 +0900)
committerEunki Hong <eunkiki.hong@samsung.com>
Thu, 10 Oct 2024 01:43:19 +0000 (01:43 +0000)
commit238f65bbc04913ea22a50f606bcabe3949a1a8c0
tree47e1cee16ea78d0011f0d4a1c1f8718e64158759
parent73e1b50335af4acc3cb25283c8a4faa28d2bfd96
Do not assert when default json parse failed

Sometimes we got assert at app creation time by below assertion.

DALI_ASSERT_ALWAYS(mParser.GetRoot() && "Cannot parse JSON");

We should need to find detail reason first. But also, due to the
very-fast-assertion, error logs are not ready to print.

To make more clean debug, let we allow to json parsing failed
and keep going.

Change-Id: Ibac5ff84745b60a9d88c68bf2412d2ac6123f5f7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali-toolkit-styling/utc-Dali-StyleManager.cpp
dali-toolkit/internal/styling/style-manager-impl.cpp