mirror of
https://github.com/d07RiV/diabloweb.git
synced 2026-06-03 21:41:38 +00:00
more details in error reports
This commit is contained in:
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "diabloweb",
|
||||
"version": "1.0.13",
|
||||
"version": "1.0.14",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "diabloweb",
|
||||
"version": "1.0.13",
|
||||
"version": "1.0.14",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@babel/core": "7.4.3",
|
||||
|
||||
@@ -25,6 +25,13 @@ DiabloWeb ${process.env.VERSION} (${retail ? 'Retail' : 'Shareware'})
|
||||
**Error message:**
|
||||
|
||||
${message.split("\n").map(line => " " + line).join("\n")}
|
||||
|
||||
**User agent:**
|
||||
|
||||
${navigator.userAgent}
|
||||
|
||||
**Save file:**
|
||||
[Please attach the save file, if applicable. The error box should have a link to download the current save you were playing; alternatively, you can open dev console on the game page (F12) and type in ${"`DownloadSaves()`"}]
|
||||
`);
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user