Commit cf957a30 authored by Mike Jones's avatar Mike Jones 🌶

Merge branch 'dev' into 'master'

Use fatal rather than logdie (Mojo::Log)

See merge request !45
parents 899fc0a3 dd1bf306
......@@ -44,7 +44,7 @@ sub _try_authentication {
$self->user_id($ret->content->{id});
$self->_set_resource_auth_token();
} else {
$self->logger->logdie($ret->message);
$self->logger->fatal($ret->message);
}
} elsif ($self->authenticate && !($self->username && $self->password)) {
$self->logger->logdie('"username" and "password" are required attributes for authentication');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment