Minor fix

This commit is contained in:
Alejandro Gallardo Escobar 2019-06-11 17:39:46 +02:00
parent 5735326430
commit 7307d34c75

View File

@ -156,8 +156,8 @@ function createVisualConsole(
id, id,
data, data,
function(error, data) { function(error, data) {
if (error && error.request.statusText === "abort") return; if (!error && !data) return;
if (error || !data) { if (error) {
console.log( console.log(
"[ERROR]", "[ERROR]",
"[VISUAL-CONSOLE-CLIENT]", "[VISUAL-CONSOLE-CLIENT]",