Skip to content

Commit

Permalink
ulteriore debug per email in coda
Browse files Browse the repository at this point in the history
  • Loading branch information
madbob committed Aug 13, 2024
1 parent 4b43f2a commit 1d862d1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions code/app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ protected function enforceInstance($event)
{
$payload = $this->getEventPayload($event);

\Log::debug('Inizializzazione job: ' . ($payload['env_file'] ?? '[no env]') . ' / ' . ($payload['gas_id'] ?? '[no gas]'));

$env_file = $payload['env_file'] ?? null;
if ($env_file) {
/*
Expand Down Expand Up @@ -104,6 +102,10 @@ private function initQueues()
'gas_id' => app()->make('GlobalScopeHub')->getGas(),
];

if (empty($ret['gas_id'])) {
\Log::debug(print_r(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 20), true));
}

if (global_multi_installation()) {
$ret['env_file'] = env_file();
}
Expand Down

0 comments on commit 1d862d1

Please sign in to comment.