Skip to content

Commit 77b0c46

Browse files
authored
Update ProcessModelRecordJob.php
1 parent 4f1c45f commit 77b0c46

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Jobs/ProcessModelRecordJob.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ public function handle(RecordProcessorManager $manager): void
4141
$this->modelUploadFile->update([
4242
'state' => UploadFileState::error,
4343
'error_message' => \sprintf(
44-
'Invalid `null` action for %s type', $this->modelUploadFile->getAttribute('model_type')
44+
'Invalid `null` action for %s type. Valid type is %s',
45+
$this->modelUploadFile->getAttribute('model_type'),
46+
\implode(', ', $manager->getProcessors())
4547
),
4648
]);
4749

0 commit comments

Comments
 (0)