File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1575,14 +1575,14 @@ end
15751575-- Help button opens a URL to PoB's GitHub wiki.
15761576function main :OpenCloudErrorPopup (fileName )
15771577 local provider , _ , status = GetCloudProvider (fileName )
1578- ConPrintf (' Error: file offline "%s" provider: "%s" status: "%s"' ,
1579- fileName or " ?" , provider , status )
1578+ ConPrintf (' ^1Error: file offline "%s" provider: "%s" status: "%s"' , fileName or " ?" , provider , status )
15801579 fileName = fileName and " \n\n ^8'" .. fileName .. " '" or " "
1581- local pobVersion = " ^8v" .. launch .versionNumber .. (launch .versionBranch == " dev " and " (Dev) " or launch .versionBranch == " beta " and " (Beta )" or " " )
1582- local title = " Error "
1580+ local version = " ^8v" .. launch .versionNumber .. (launch .versionBranch and " " .. launch .versionBranch or " " ) .. ( launch . devMode and " (dev )" or " " )
1581+ local title = " ^1Error "
15831582 provider = provider or " your cloud provider"
1584- local msg = " \n Cannot read file.\n\n Make sure " .. provider .. " is running then restart " .. APP_NAME .. " and try again." ..
1585- fileName .. " \n\n " .. pobVersion
1583+ local statusText = tostring (status ) or " nil"
1584+ local msg = " \n ^7Cannot read file.\n\n Make sure " .. provider .. " is running then restart " .. APP_NAME .. " and try again." ..
1585+ fileName .. " \n status: " .. statusText .. " \n\n " .. version
15861586 local url = " https://github.com/PathOfBuildingCommunity/PathOfBuilding/wiki/CloudError"
15871587 local controls = { }
15881588 local numMsgLines = 0
You can’t perform that action at this time.
0 commit comments