Skip to content

Commit bc797b4

Browse files
committed
#2653 Added some additional temp logging to get more info whenever an undefined array key error comes up
1 parent 899008c commit bc797b4

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

resources/views/misc/affixes.blade.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
?>
4040
@include('common.general.inline', ['path' => 'dungeonroute/discover/discover'])
4141

42+
<?php
43+
44+
try {
45+
?>
4246
@section('content')
4347
@include('dungeonroute.discover.wallpaper', ['expansion' => $expansion])
4448

@@ -140,3 +144,19 @@
140144
@include('common.modal.userreport.dungeonroute')
141145
@endcomponent
142146
@endsection
147+
148+
<?php
149+
} catch (ErrorException $throwable) {
150+
logger()->error('Error in affixes page!', [
151+
'user' => Auth::id(),
152+
'url' => request()->url(),
153+
'currentAffixGroup' => $currentAffixGroup?->id,
154+
'nextAffixGroup' => $nextAffixGroup?->id,
155+
'offset' => $offset,
156+
'expansion' => $expansion->id,
157+
'gameServerRegion' => $userOrDefaultRegion->id,
158+
]);
159+
160+
throw $throwable;
161+
}
162+
?>

0 commit comments

Comments
 (0)