Skip to content

Commit a6a00ac

Browse files
authored
Add second required argument
1 parent a9586ad commit a6a00ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Helpers/DatabaseManager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ private function migrate($outputLog)
3737
Artisan::call('migrate', ["--force"=> true], $outputLog);
3838
}
3939
catch(Exception $e){
40-
return $this->response($e->getMessage(), $outputLog);
40+
return $this->response($e->getMessage(), 'error', $outputLog);
4141
}
4242

4343
return $this->seed($outputLog);
@@ -55,7 +55,7 @@ private function seed($outputLog)
5555
Artisan::call('db:seed', [], $outputLog);
5656
}
5757
catch(Exception $e){
58-
return $this->response($e->getMessage(), $outputLog);
58+
return $this->response($e->getMessage(), 'error', $outputLog);
5959
}
6060

6161
return $this->response(trans('installer_messages.final.finished'), 'success', $outputLog);

0 commit comments

Comments
 (0)