index: move clean to finally
Signed-off-by: Varun Patil <varunpatil@ucla.edu>pull/579/head
parent
5fe7eb9be4
commit
039115d8f4
|
@ -190,10 +190,10 @@ class Index
|
|||
$this->timelineWrite->processFile($file);
|
||||
} catch (\Exception $e) {
|
||||
$this->error("Failed to index file {$file->getPath()}: {$e->getMessage()}");
|
||||
}
|
||||
|
||||
} finally {
|
||||
$this->tempManager->clean();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get total number of files that are indexed.
|
||||
|
|
Loading…
Reference in New Issue