Skip to content

Commit 9375642

Browse files
committed
Merge branch 'main' of github.com:lmsqueezy/laravel
2 parents 2003982 + 16cc827 commit 9375642

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Console/ListenCommand.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,9 @@ protected function ngrok(): int
289289
$request['response']['status_code'],
290290
$request['request']['method'],
291291
Str::padRight(Str::limit($request['request']['uri'], 48, ''), 48, '.'),
292-
Carbon::parse($request['response']['headers']['Date'][0])->format('H:i:s'),
292+
isset($request['response']['headers']['Date'][0])
293+
? Carbon::parse($request['response']['headers']['Date'][0])->format('H:i:s')
294+
: '[Date-Not-Set]',
293295
));
294296
}
295297
}

0 commit comments

Comments
 (0)