mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-06 00:05:42 +08:00
Add GitHub Action (#35)
* Create build.yml * Update build.yml * Update build.yml * Update FetchSourceCommand.php Attempt to fix exception reporting error when cURL fails * Update Downloader.php Attempt to solve GitHub API requests bailing in the Action runner * Update Downloader.php Revert * Update build.yml Add env variable * Update build.yml * Update build.yml * Update build.yml * Update build.yml * Update build.yml * Update build.yml * Update build.yml * Update build.yml * Update build.yml * Update build.yml * Update build.yml Revert. It didn't help :(
This commit is contained in:
@@ -170,7 +170,7 @@ class FetchSourceCommand extends BaseCommand
|
||||
if ($input->getOption('debug')) {
|
||||
ExceptionHandler::getInstance()->handle($e);
|
||||
} else {
|
||||
logger()->emergency($e->getMessage() . ', previous message: ' . $e->getPrevious()->getMessage());
|
||||
logger()->emergency($e->getMessage() . ', previous message: ' . $e->getPrevious()?->getMessage());
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user