ta2edchimp / BattleReporter

Advanced editable BattleReport platform for EVE Online.
1 stars 1 forks source link

Combatant::getCorpInfoByName: Catch Exception properly #74

Closed ta2edchimp closed 9 years ago

ta2edchimp commented 9 years ago

Combatant.php:365-371, Combatant.php:312-327: PhealException (APIException) should be catched properly, it will be thrown when an invalid corpID is sent, that is, when Combatant::getEntityByName received an ID of 0 via API query for the given entity name (see #75).