mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Fix UserReporter curl error message being cut off after the first colon following 0da7e822ff, refs 41395ffe5d, b496168d0a.
Informs maintainers of the UserReporter backend why it's currently broken. This was SVN commit r21897.
This commit is contained in:
parent
82740d9278
commit
c898c19735
1 changed files with 2 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ var g_UserReportStatusFormat = {
|
|||
"errorCode": data[1]
|
||||
}),
|
||||
"failed": data => sprintf(translate("upload failed (%(errorMessage)s)"), {
|
||||
"errorMessage": uneval(data[2])
|
||||
"errorMessage": data.slice(2).join(":")
|
||||
})
|
||||
};
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ function updateUserReportButtons()
|
|||
|
||||
function updateUserReportStatus()
|
||||
{
|
||||
let statusData = Engine.GetUserReportStatus().split(/:/, 3);
|
||||
let statusData = Engine.GetUserReportStatus().split(":");
|
||||
|
||||
Engine.GetGUIObjectByName("userReportText").caption =
|
||||
Engine.IsUserReportEnabled() ?
|
||||
|
|
|
|||
Loading…
Reference in a new issue