Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
joedixon committed May 8, 2024
1 parent 99de096 commit ab95911
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Protocols/Pusher/MetricsHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ protected function mergeChannels(array $metrics): array
*/
protected function listenForMetrics(string $key): Deferred
{
dump('Listenting on '.$key);

$deferred = new Deferred;

$this->pubSubProvider->on('metrics-retrieved', function ($payload) use ($key, $deferred) {
Expand Down
1 change: 1 addition & 0 deletions src/Servers/Reverb/Http/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ protected function handleRequest(string $message, Connection $connection): void
$this->close($connection, $e->getStatusCode(), $e->getMessage());
} catch (Throwable $e) {
Log::error($e->getMessage());
dd($e);
$this->close($connection, 500, 'Internal server error.');
}
}
Expand Down

0 comments on commit ab95911

Please sign in to comment.