Browse Source

repl: Don't throw exceptions for everything

master
Elis Hirwing 3 years ago
parent
commit
0228688410
Signed by: etu GPG Key ID: D57EFA625C9A925F
  1. 1
      repl.php

1
repl.php

@ -17,6 +17,7 @@ $defaultItem = 'box';
// Set up http client
$httpClient = new \GuzzleHttp\Client([
'base_uri' => $argv[1],
'http_errors' => false, // Disables obnoxious exceptions for 404's (and all others but well...)
]);
while (true) {

Loading…
Cancel
Save