Skip to content

Commit 7b0fbec

Browse files
committed
Improve Failed Jobs details
1 parent d733b8a commit 7b0fbec

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

packages/jobs/resources/lang/de/translations.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@
4949
'average_time' => 'Durchschnittliche Ausführungszeit',
5050
// jobfailed
5151
'uuid' => 'Uuid',
52-
'payload' => 'Warteschlange',
52+
'payload' => 'Payload',
5353
'connection' => 'Verbindung',
54-
'exception' => 'Ausnahme',
54+
'exception' => 'Exception',
5555
'retry' => 'Wiederholen',
5656
'retry_all_failed_jobs' => 'Alle Jobs wiederholen',
5757
'retry_all_failed_jobs_notification' => 'Alle fehlgeschlagenen Jobs wurden in die Warteschlage eingereiht',

packages/jobs/resources/lang/en/translations.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
// jobfailed
5656
'uuid' => 'Uuid',
57-
'payload' => 'Queue',
57+
'payload' => 'Payload',
5858
'connection' => 'Connection',
5959
'exception' => 'Exception',
6060
'retry' => 'Retry',

packages/jobs/src/Resources/JobsFailedResource.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,8 @@ public static function form(Form $form): Form
4848
TextInput::make('id')->disabled()->label(__('jobs::translations.id')),
4949
TextInput::make('connection')->disabled()->label(__('jobs::translations.connection')),
5050
TextInput::make('queue')->disabled()->label(__('jobs::translations.queue')),
51-
52-
// make text a little bit smaller because often a complete Stack Trace is shown:
53-
TextArea::make('exception')->disabled()->columnSpan(4)->extraInputAttributes(['style' => 'font-size: 80%;'])->label(__('jobs::translations.connection')),
54-
TextArea::make('payload')->disabled()->columnSpan(4)->label(__('jobs::translations.payload')),
51+
TextArea::make('exception')->disabled()->rows(10)->columnSpan(4)->extraInputAttributes(['style' => 'font-size: 80%;'])->label(__('jobs::translations.exception')),
52+
TextArea::make('payload')->disabled()->rows(5)->columnSpan(4)->extraInputAttributes(['style' => 'font-size: 80%;'])->label(__('jobs::translations.payload')),
5553
])->columns(4);
5654
}
5755

0 commit comments

Comments
 (0)