display github api error message

pull/1/head
Iuri Matias 7 years ago
parent b28eb6222a
commit 380e031dcb
  1. 2
      src/app/compiler/compiler-imports.js

@ -19,6 +19,8 @@ module.exports = {
} }
if ('content' in data) { if ('content' in data) {
cb(null, base64.decode(data.content), root + '/' + path) cb(null, base64.decode(data.content), root + '/' + path)
} else if ('message' in data) {
cb(data.message)
} else { } else {
cb('Content not received') cb('Content not received')
} }

Loading…
Cancel
Save