summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/wwwroot
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-10-29 13:23:08 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-10-29 13:23:08 -0400
commit0f08980d45ca7a6ea820d2b7acd453087da0371c (patch)
tree691f294dd0057d5cf918ac3acb886877866cc100 /src/SMAPI.Web/wwwroot
parent6638701d0221e82daa42581eddb3cf051d1f8de4 (diff)
downloadSMAPI-0f08980d45ca7a6ea820d2b7acd453087da0371c.tar.gz
SMAPI-0f08980d45ca7a6ea820d2b7acd453087da0371c.tar.bz2
SMAPI-0f08980d45ca7a6ea820d2b7acd453087da0371c.zip
fix error log format (#358)
Diffstat (limited to 'src/SMAPI.Web/wwwroot')
-rw-r--r--src/SMAPI.Web/wwwroot/Content/js/log-parser.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Web/wwwroot/Content/js/log-parser.js b/src/SMAPI.Web/wwwroot/Content/js/log-parser.js
index 904ca691..498fb335 100644
--- a/src/SMAPI.Web/wwwroot/Content/js/log-parser.js
+++ b/src/SMAPI.Web/wwwroot/Content/js/log-parser.js
@@ -82,7 +82,7 @@ smapi.logParser = function(sectionUrl, pasteID) {
})
.fail(function(xhr, textStatus) {
$("#uploader").fadeOut();
- $("#output").html('<div id="log" class="color-red"><h1>Parsing failed!</h1>Parsing of the log failed, details follow.<br />&nbsp;<p>Stage: Upload</p>Error: ' + textStatus + ': ' + xhr.responseText + "<hr />" + $("#input").val() + "</div>");
+ $("#output").html('<div id="log" class="color-red"><h1>Parsing failed!</h1>Parsing of the log failed, details follow.<br />&nbsp;<p>Stage: Upload</p>Error: ' + textStatus + ': ' + xhr.responseText + "<hr /><pre>" + $("#input").val() + "</pre></div>");
})
.then(function(data) {
$("#uploader").fadeOut();