Explorar o código

Probably fixes a bug that stucks the server

Gaël Métais %!s(int64=4) %!d(string=hai) anos
pai
achega
f837ad2270
Modificáronse 1 ficheiros con 3 adicións e 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;