Eliminates unnecessary dumper
Change-Id: I953348315d7e782ad65e7db382f260592d6c704c
diff --git a/lib/Kalamar/Plugin/Auth.pm b/lib/Kalamar/Plugin/Auth.pm
index 183fff2..4e2c7bf 100644
--- a/lib/Kalamar/Plugin/Auth.pm
+++ b/lib/Kalamar/Plugin/Auth.pm
@@ -434,7 +434,7 @@
return Mojo::Promise->resolve($json);
};
- $c->log->error($c->dumper($tx->res->to_string));
+ $c->log->error($tx->res->to_string);
# Failure
$c->notify(error => $c->loc('Auth_responseError'));
@@ -469,7 +469,7 @@
return Mojo::Promise->resolve($json);
};
- $c->log->error($c->dumper($tx->res->to_string));
+ $c->log->error($tx->res->to_string);
# Failure
return Mojo::Promise->reject($json->{error_description} // 'Client unknown');
@@ -509,7 +509,7 @@
return Mojo::Promise->resolve($json);
};
- $c->log->error($c->dumper($tx->res->to_string));
+ $c->log->error($tx->res->to_string);
# Failure
$c->notify(error => $c->loc('Auth_responseError'));