TIC processing fixes, was unable to find TIC file
This commit is contained in:
@@ -62,10 +62,10 @@ class TicProcess implements ShouldQueue
|
||||
|
||||
$to = new Tic;
|
||||
try {
|
||||
$to->load($fs->path($rel_name));
|
||||
$to->load($rel_name);
|
||||
|
||||
} catch (\Exception $e) {
|
||||
Log::error(sprintf('%s:! Error loading TIC file [%s]',self::LOGKEY,$rel_name));
|
||||
Log::error(sprintf('%s:! Error loading TIC file [%s] (%s)',self::LOGKEY,$rel_name,$e->getMessage()));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@ class TicProcess implements ShouldQueue
|
||||
|
||||
try {
|
||||
if ($fs->makeDirectory($dir)) {
|
||||
$fs->move($rel_name,$x=sprintf('%s/%s/%s',config('fido.dir'),$dir,$this->file));
|
||||
$fs->move($rel_name,$x=sprintf('%s/%s',$dir,$this->file));
|
||||
Log::info(sprintf('%s:- Moved processed TIC [%s] to [%s]',self::LOGKEY,$rel_name,$x));
|
||||
|
||||
} else
|
||||
|
Reference in New Issue
Block a user