Skip to content

Commit f3a7d55

Browse files
committed
debug
1 parent 68fd14c commit f3a7d55

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

issue-bot/src/Console/RunCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ private function analyseHash(LoopInterface $loop, OutputInterface $output, int $
211211
try {
212212
$json = Json::decode($stdout, Json::FORCE_ARRAY);
213213
} catch (Throwable $e) {
214+
echo $stdout . "\n";
214215
throw new Exception(sprintf('Failed to decode JSON for %s: %s', $hash, $e->getMessage()));
215216
}
216217

issue-bot/src/Process/ProcessPromise.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ public function run(): PromiseInterface
6868
}
6969

7070
if ($exitCode === 0 || $exitCode === 1) {
71+
echo $stdErr . "\n";
7172
$this->deferred->resolve($stdOut);
7273
return;
7374
}

0 commit comments

Comments
 (0)