mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-23 00:35:38 +08:00
Add debug messages
This commit is contained in:
@@ -16,6 +16,7 @@ class CurlHook
|
|||||||
public static function setupGithubToken(string $method, string $url, array &$headers): void
|
public static function setupGithubToken(string $method, string $url, array &$headers): void
|
||||||
{
|
{
|
||||||
if (!getenv('GITHUB_TOKEN')) {
|
if (!getenv('GITHUB_TOKEN')) {
|
||||||
|
logger()->debug('no github token found, skip');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (getenv('GITHUB_USER')) {
|
if (getenv('GITHUB_USER')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user