Extra debug info for #2159

This commit is contained in:
James Cole
2019-03-16 20:07:26 +01:00
parent b8ac7c9d89
commit e2ebd01719
3 changed files with 7 additions and 2 deletions

View File

@@ -147,6 +147,9 @@ trait UserNavigation
$url = app('url')->previous();
session()->put($identifier, $url);
Log::debug(sprintf('Will put previous URI in cache under key %s: %s', $identifier, $url));
return;
}
Log::debug(sprintf('The users session contains errors somehow so we will not remember the URI!: %s', var_export($errors, true)));
}
}