We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 738b8a2 commit 94d93fcCopy full SHA for 94d93fc
src/Jobs/CheckIfBotIsReal.php
@@ -49,7 +49,9 @@ public function handle()
49
}
50
51
if (is_null($found_bot_key)) {
52
- throw new \InvalidArgumentException("I did not found \"{$this->client->userAgent}\" key");
+ $ip = !empty($this->client) && !empty($this->client->ip) ? ", IP: {$this->client->ip}." : ". The IP was not recovered.";
53
+
54
+ throw new \InvalidArgumentException("I did not found \"{$this->client->userAgent}\" key{$ip}");
55
56
57
// Lets remove from the pending list
0 commit comments