Commit deb1c5a8 authored by Kiyoshi Aman's avatar Kiyoshi Aman
Browse files

Chessa::Bug: temporary logging

parent 8a2cb433
......@@ -23,10 +23,6 @@ sub new {
$self->{log} = delete $args{log} // sub {};
$self->{conf} = delete $args{conf} or die "missing Chessa::Bug config";
for my $i (keys %{$self->{conf}}) {
$self->{log}("$i " . $self->{conf}{$i});
}
# set up the web client.
$self->{http} = Net::Async::HTTP->new(
user_agent => USER_AGENT,
......@@ -130,6 +126,7 @@ sub parse {
}
}
($project, $num) = split /$sigil/, $word;
$self->{log}("Project defined? " . defined($project));
if (!defined($project)) {
unless ($type eq 'snippets') {
......
......@@ -29,6 +29,7 @@ sub new {
uri => 'https://git.adelielinux.org/api/v4/projects',
on_response => sub {
my ($response) = @_;
$self->log("Fetched projects.");
$self->projects($response);
}, on_error => sub {
my ($error) = @_;
......
Supports Markdown
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