Skip to content

Commit e9098df

Browse files
committed
trace() instead of debug() for backward compatibility
1 parent 159d5d0 commit e9098df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/RecaptchaValidator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ protected function validateValue($value)
101101
$errorHandler = Instance::ensure('errorHandler', ErrorHandler::class);
102102
$errorHandler->logException($httpException);
103103
} catch (InvalidConfigException $e) {
104-
Yii::debug($e->getMessage(), __METHOD__);
104+
Yii::trace($e->getMessage(), __METHOD__);
105105
}
106106
return [$this->message, []];
107107
}
@@ -110,7 +110,7 @@ protected function validateValue($value)
110110
return null;
111111
}
112112

113-
Yii::debug(ArrayHelper::getValue($response, 'error-codes'), __METHOD__);
113+
Yii::trace(ArrayHelper::getValue($response, 'error-codes'), __METHOD__);
114114

115115
return [$this->message, []];
116116
}

0 commit comments

Comments
 (0)