gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit 9af321178aa8738c216db282c630dbc01cde49cc
parent 797d1706892947a4767e96438de5b400d680c229
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Tue, 17 Dec 2024 00:14:12 +0100

give more information about a json error if json parsing fails

Diffstat:
Msource/juceUiLib/editor.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/juceUiLib/editor.cpp b/source/juceUiLib/editor.cpp @@ -19,7 +19,7 @@ namespace genericUI const auto error = juce::JSON::parse(juce::String(std::string(jsonData, jsonSize)), json); if (error.failed()) - throw std::runtime_error("Failed to load json"); + throw std::runtime_error("Failed to load json, " + error.getErrorMessage().toStdString()); m_jsonFilename = _jsonFilename;