Commit b16f3e00 authored by chriseth's avatar chriseth Committed by GitHub

Merge pull request #476 from ethereum/gist-publish-fail

Issue warning if gist publish failed
parents ba79cebd cd4d6968
......@@ -197,6 +197,8 @@ var run = function () {
if (response.html_url && confirm('Created a gist at ' + response.html_url + ' Would you like to open it in a new window?')) {
window.open(response.html_url, '_blank')
}
}).fail(function (xhr, text, err) {
alert('Failed to create gist: ' + (err || 'Unknown transport error'))
})
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment