|
@@ -109,8 +109,14 @@ var ApiController = function(app) {
|
|
|
}
|
|
|
|
|
|
})
|
|
|
+
|
|
|
// Delete screenshot temporary file
|
|
|
- .then(screenshot.deleteTmpFile);
|
|
|
+ .then(screenshot.deleteTmpFile)
|
|
|
+
|
|
|
+ // Don't worry if there's an error
|
|
|
+ .fail(function(err) {
|
|
|
+ debug('An error occured while creating the screenshot\'s thumbnail. Ignoring and continuing...');
|
|
|
+ });
|
|
|
|
|
|
}
|
|
|
|