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);
|
$this->timelineWrite->processFile($file);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
$this->error("Failed to index file {$file->getPath()}: {$e->getMessage()}");
|
$this->error("Failed to index file {$file->getPath()}: {$e->getMessage()}");
|
||||||
}
|
} finally {
|
||||||
|
|
||||||
$this->tempManager->clean();
|
$this->tempManager->clean();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get total number of files that are indexed.
|
* Get total number of files that are indexed.
|
||||||
|
|
Loading…
Reference in New Issue