fixed error displaying [object]

This commit is contained in:
bill bittner 2017-06-10 14:15:02 -07:00
parent c839ca1829
commit 15f7a0d7a7

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>';