Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14110910
D10803.id25968.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D10803.id25968.diff
View Options
diff --git a/src/applications/diviner/workflow/DivinerGenerateWorkflow.php b/src/applications/diviner/workflow/DivinerGenerateWorkflow.php
--- a/src/applications/diviner/workflow/DivinerGenerateWorkflow.php
+++ b/src/applications/diviner/workflow/DivinerGenerateWorkflow.php
@@ -334,14 +334,18 @@
$bar = id(new PhutilConsoleProgressBar())
->setTotal(count($futures));
foreach (Futures($futures)->limit(4) as $key => $future) {
- $atoms = $future->resolveJSON();
-
- foreach ($atoms as $atom) {
- if ($atom['type'] == DivinerAtom::TYPE_FILE) {
- $file_hash = $file_hashes[$atom['file']];
- $atom_cache->addFileHash($file_hash, $atom['hash']);
+ try {
+ $atoms = $future->resolveJSON();
+
+ foreach ($atoms as $atom) {
+ if ($atom['type'] == DivinerAtom::TYPE_FILE) {
+ $file_hash = $file_hashes[$atom['file']];
+ $atom_cache->addFileHash($file_hash, $atom['hash']);
+ }
+ $atom_cache->addAtom($atom);
}
- $atom_cache->addAtom($atom);
+ } catch (Exception $e) {
+ phlog($e);
}
$bar->update(1);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 28, 7:30 PM (21 h, 46 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6801939
Default Alt Text
D10803.id25968.diff (1 KB)
Attached To
Mode
D10803: Make `./bin/diviner generate` more fault tolerant
Attached
Detach File
Event Timeline
Log In to Comment