diff --git a/src/sse.js b/src/sse.js index 0a56915..4ff5e8f 100644 --- a/src/sse.js +++ b/src/sse.js @@ -75,7 +75,7 @@ const Methods = { responseType: 'stream', }).catch(err => { if (err.response.status === 404) { - if (backup) { + if (isBackup) { console.log(`Backup not completed. ${sse} not found in ${env}.`); } else { console.log(`${sse} not found in ${env}.`);