Skip to content

Commit

Permalink
Merge pull request tumblr#405 from byxorna/gabe-format-provisioning-e…
Browse files Browse the repository at this point in the history
…rrors

format provisioning errors less shittily
  • Loading branch information
william-richard committed Feb 11, 2016
2 parents dac8412 + abdbdd3 commit 62283d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/javascripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ $(document).ready(function() {
var message = response.data.message;
html += '<div style="font-family: monaco">' + message + '</div>';
if (details && typeof(details) === "object" && details.message) {
html += '<br><div style="font-family: monaco">' + details.message + '</div>';
html += '<br><pre><code style="font-family: monaco">' + details.message + '</code></pre>';
}
$(elId(errorEl)).empty().append(html).show();
} else {
Expand Down

0 comments on commit 62283d0

Please sign in to comment.