We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b87dc05 commit 601146bCopy full SHA for 601146b
demo/index.php
@@ -195,21 +195,10 @@ function printCode(?string $code, bool $asHtml = true): void
195
]);
196
$info = $embed->get(getUrl());
197
} catch (Exception $exception) {
198
- echo '<table>';
199
- foreach ($dispatcher->getAllResponses() as $response) {
200
- echo '<tr>';
201
- echo '<th>'.$response->getUrl().'</th>';
202
- echo '</tr><tr><td>';
203
- printHeaders($response->getHeaders());
204
- echo '</td><tr><td><pre>';
205
- printArray($response->getInfo());
206
207
- printText($response->getContent());
208
- echo '</pre></td></tr>';
209
- }
210
- echo '</table>';
211
-
212
- throw $exception;
+ echo '<pre>';
+ echo $exception;
+ echo '</pre>';
+ die();
213
}
214
?>
215
0 commit comments