more debugging info in critical logs

This commit is contained in:
2019-05-29 21:26:55 -05:00
parent ce0a94dd90
commit 9d1bb9e670

View File

@@ -68,7 +68,12 @@ class GetStructuresCommand extends Command
$corpStructureScope = $esiHelper->HaveEsiScope($charId, 'esi-corporations.read_structures.v1');
if($structureScope == false || $corpStructureScope == false) {
Log::critical("Scope check for esi failed.");
if($structureScope == false) {
Log::critical("Scope check for esi-universe.read_structures.v1 has failed.");
}
if($corpStructureScope == false) {
Log::critical("Scope check for esi-corporations.read_structures.v1 has failed.");
}
return null;
}