Skip to content

Commit 957c9fb

Browse files
committed
fix(federation): Make logging statements unique
Previously it was the same as in apps/federation/lib/BackgroundJob/GetSharedSecret.php which might be confusing during debugging. Signed-off-by: Pablo Zimdahl <pablo@nextcloud.com>
1 parent 1400c66 commit 957c9fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/federation/lib/BackgroundJob/RequestSharedSecret.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ protected function run($argument) {
9393
// kill job after 30 days of trying
9494
$deadline = $currentTime - $this->maxLifespan;
9595
if ($created < $deadline) {
96-
$this->logger->warning("The job to get the shared secret job is too old and gets stopped now without retention. Setting server status of '{$target}' to failure.");
96+
$this->logger->warning("The job to request the shared secret job is too old and gets stopped now without retention. Setting server status of '{$target}' to failure.");
9797
$this->retainJob = false;
9898
$this->trustedServers->setServerStatus($target, TrustedServers::STATUS_FAILURE);
9999
return;

0 commit comments

Comments
 (0)