mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Give error more descriptive title
This commit is contained in:
@@ -26,7 +26,7 @@ module.exports = (grunt) ->
|
||||
findReleaseIdFromAtomShellVersion = (version, callback) ->
|
||||
callAtomShellReposApi '/releases', (error, response, data) ->
|
||||
if error?
|
||||
grunt.log.error('Cannot get releases of atom-shell')
|
||||
grunt.log.error('GitHub API failed to access atom-shell releases')
|
||||
callback(error)
|
||||
else
|
||||
for release in data when release.tag_name is version
|
||||
|
||||
Reference in New Issue
Block a user