You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Mojolicious::Plugin::JSONConfig::parse dies, only a nonsensical error message is displayed by morbo:
Can't load application "script/boilerplate.pl": at (eval 105) line 5.
(The actual scenario which led me to discover this was an attempt to use Mojolicious::Plugin::YamlConfig without YAML::XS installed, but hopefully you can simply reproduce this by inserting die anywhere in Mojolicious::Plugin::JSONConfig::parse - this has the same effect for me.)
The text was updated successfully, but these errors were encountered:
I can't quite understand the patch. Were you able to identify the root cause or was my report invalid? Because JSONConfig now outputs the error message correctly in my tests, but the original problem with YamlConfig remains. It seems to be caused by "local $@;" in YamlConfig::parse, and it also depends on whether I run with morbo (error message is suppressed) or in daemon mode (error message appears).
Reporting against kraih-mojo-b183a2e:
When Mojolicious::Plugin::JSONConfig::parse dies, only a nonsensical error message is displayed by morbo:
Can't load application "script/boilerplate.pl": at (eval 105) line 5.
(The actual scenario which led me to discover this was an attempt to use Mojolicious::Plugin::YamlConfig without YAML::XS installed, but hopefully you can simply reproduce this by inserting die anywhere in Mojolicious::Plugin::JSONConfig::parse - this has the same effect for me.)
The text was updated successfully, but these errors were encountered: