mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 10:16:49 +00:00
Added debug info to the export routine.
This commit is contained in:
@@ -12,6 +12,7 @@ namespace FireflyIII\Models;
|
||||
|
||||
use Auth;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Log;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
/**
|
||||
@@ -50,6 +51,7 @@ class ExportJob extends Model
|
||||
*/
|
||||
public function change($status)
|
||||
{
|
||||
Log::debug('Job ' . $this->key . ' to status "' . $status . '".');
|
||||
$this->status = $status;
|
||||
$this->save();
|
||||
}
|
||||
|
Reference in New Issue
Block a user