Minor fix

This commit is contained in:
Alejandro Gallardo Escobar 2019-06-11 17:39:46 +02:00
parent 5735326430
commit 7307d34c75
1 changed files with 2 additions and 2 deletions

View File

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