mirror of
https://github.com/correl/mage.git
synced 2024-11-28 19:19:55 +00:00
Added server logs about exp/cards downloads;
This commit is contained in:
parent
f788af1f6a
commit
f64dac5e1b
1 changed files with 4 additions and 2 deletions
|
@ -1199,13 +1199,15 @@ public class MageServerImpl implements MageServer {
|
||||||
result.add(expansionInfo);
|
result.add(expansionInfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
logger.info("Missing exp downloaded: " + result.size());
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<CardInfo> getMissingCardsData(List<String> classNames) {
|
public List<CardInfo> getMissingCardsData(List<String> classNames) {
|
||||||
return CardRepository.instance.getMissingCards(classNames);
|
List<CardInfo> res = CardRepository.instance.getMissingCards(classNames);
|
||||||
|
logger.info("Missing cards downloaded: " + res.size());
|
||||||
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static class MyActionWithNullNegativeResult extends ActionWithNullNegativeResult<Object> {
|
private static class MyActionWithNullNegativeResult extends ActionWithNullNegativeResult<Object> {
|
||||||
|
|
Loading…
Reference in a new issue