Skip to content

Commit 006e28f

Browse files
committed
feat: add warning log so devs know if Boost can't boot
1 parent 23bd0f1 commit 006e28f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/BoostServiceProvider.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ public function boot(Router $router): void
5757
{
5858
// Only enable Boost on local environments
5959
if (! app()->environment(['local', 'testing']) && config('app.debug', false) !== true) {
60+
Log::warning('Boost can\'t boot as it can\'t detect if it\'s in a local environment.');
61+
6062
return;
6163
}
6264

0 commit comments

Comments
 (0)