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 9ffb763 commit 982ee0aCopy full SHA for 982ee0a
src/Bootstrap.php
@@ -59,7 +59,7 @@ function dispatch( Application $App ) : void
59
}
60
catch( \Exception $e )
61
{
62
- echo 'Ouch.';
+ echo $e->getMessage()."<br>".$e->getTraceAsString();
63
64
65
tests/BootstrapTest.php
@@ -248,7 +248,7 @@ public function testDispatchWithException()
248
$Output = ob_get_clean();
249
250
// Should output 'Ouch.' when exception is caught
251
- $this->assertEquals( 'Ouch.', $Output );
+ $this->assertStringContainsString( 'Exception', $Output );
252
253
254
/**
versionlog.md
@@ -1,3 +1,5 @@
1
+* Added routing exception output.
2
+
3
## 0.8.1
4
5
* Added integrated rate limiting support via routing component.
0 commit comments