Fix config key when inserting
authorVincent Tondellier <tonton+hg@team1664.org>
Sun, 14 Feb 2016 19:58:33 +0100
changeset 92 702e246e5c9f
parent 91 10a62da240f4
child 93 31013a09b483
Fix config key when inserting
lib/CrashTest/Plugin/CrashProcessor/Breakpad.pm
--- a/lib/CrashTest/Plugin/CrashProcessor/Breakpad.pm	Sun Feb 14 19:35:51 2016 +0100
+++ b/lib/CrashTest/Plugin/CrashProcessor/Breakpad.pm	Sun Feb 14 19:58:33 2016 +0100
@@ -13,6 +13,7 @@
 
 package CrashTest::Plugin::CrashProcessor::Breakpad;
 use Mojo::Base 'Mojolicious::Plugin';
+use Mojo::JSON::MaybeXS;
 use Mojo::JSON qw/decode_json/;
 use Mojo::Util qw/dumper/;
 use Mojolicious::Validator;
@@ -25,7 +26,7 @@
 
     $self->app($app);
     $self->config($args->{config});
-    $self->dumper_config($self->config->{Processor}->{Breakpad});
+    $self->dumper_config($self->config->{Processor}->{CrashProcessor}->{Breakpad});
 
     $app->minion->add_task($self->task_name =>
         sub {