Explorar el Código

Probably fixes a bug that stucks the server

Gaël Métais hace 4 años
padre
commit
f837ad2270
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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;