index: move clean to finally
Signed-off-by: Varun Patil <varunpatil@ucla.edu>pull/579/head
parent
5fe7eb9be4
commit
039115d8f4
|
@ -190,9 +190,9 @@ 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();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue