Error handling #24

Merged
bones7242 merged 3 commits from error-handling into master 2017-06-10 23:19:32 +02:00

View file

@ -124,7 +124,7 @@
updatePublishStatus(msg);
});
socket.on('publish-failure', function(msg){
document.getElementById('publish-active-area').innerHTML = '<p>' + msg + '</p><p> --(✖╭╮✖)→ </p>';
document.getElementById('publish-active-area').innerHTML = '<p>' + JSON.stringify(msg) + '</p><p> --(✖╭╮✖)→ </p>';
});
socket.on('publish-complete', function(msg){
var publishResults = '<p>Your publish is complete!</p>';