make logs consistent

This commit is contained in:
Feross Aboukhadijeh
2016-08-05 21:44:32 -07:00
parent 4126d15821
commit 14fcbfcced
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ function init () {
function onResponse (err, res, data) {
if (err) return log(`Failed to retrieve announcement: ${err.message}`)
if (res.statusCode !== 200) return log('No announcement exists')
if (res.statusCode !== 200) return log('No announcement available')
try {
data = JSON.parse(data.toString())