Browse Source

Probably fixes a bug that stucks the server

Gaël Métais 4 năm trước cách đây
mục cha
commit
f837ad2270
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      lib/server/datastores/resultsDatastore.js

+ 3 - 0
lib/server/datastores/resultsDatastore.js

@@ -115,6 +115,9 @@ function ResultsDatastore() {
             });
             delete testResults.screenshotBuffer;
 
+        } else {
+            debug('Screenshot not found');
+            deferred.resolve();
         }
 
         return deferred.promise;