Add more debug logging to output.

This commit is contained in:
James Cole 2018-03-07 20:55:11 +01:00
parent 47c9f1e9b8
commit 5105bc6f64
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -28,6 +28,8 @@ use Artisan;
use FireflyIII\Http\Controllers\Controller;
use Laravel\Passport\Passport;
use phpseclib\Crypt\RSA;
use Log;
use Symfony\Component\Console\Output\BufferedOutput;
/**
* Class InstallController
@ -47,7 +49,11 @@ class InstallController extends Controller
*/
public function migrate()
{
Log::debug('Am now calling migrate routine...');
$output = new BufferedOutput();
Artisan::call('migrate', ['--seed' => true]);
$result = $output->fetch();
Log::debug($result);
// create keys manually because for some reason the passport namespace
// does not exist