… | … | ||
---|---|---|---|
21 | =cut | 21 | =cut |
22 | 22 | ||
23 | our $CFG; | 23 | our $CFG; |
24 | 24 | ||
25 | sub load_config { | 25 | sub load_config { |
26 | warn "loading jeweler config from $cf::DATADIR/jeweler\n"; | 26 | cf::trace "loading jeweler config from $cf::DATADIR/jeweler\n"; |
27 | 27 | ||
28 | 0 < Coro::AIO::aio_load "$cf::DATADIR/jeweler", my $data | 28 | 0 < Coro::AIO::aio_load "$cf::DATADIR/jeweler", my $data |
29 | or die "$cf::DATADIR/jeweler: $!"; | 29 | or die "$cf::DATADIR/jeweler: $!"; |
30 | 30 | ||
31 | $CFG = cf::decode_json $data; | 31 | $CFG = cf::decode_json $data; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |