Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit 413dac0

Browse files
authored
fix: add debug log to ForceAup
log a message when there is no facility for entityID
1 parent c8fd4c2 commit 413dac0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/Auth/Process/ForceAup.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@ public function process(&$request)
121121
$facility = $this->adapter->getFacilityByEntityId($this->entityId);
122122

123123
if ($facility === null) {
124+
Logger::debug(
125+
'Perun.ForceAup - Skipping AUPs because there is no facility with EntityId: ' .
126+
$this->entityId
127+
);
124128
return;
125129
}
126130

0 commit comments

Comments
 (0)