Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
AppMonitorSubscriber
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nongyingchen
AppMonitorSubscriber
Commits
466cdcb4
Commit
466cdcb4
authored
Sep 05, 2019
by
trace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
不公开通知 API404问题
parent
81665578
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
play.js
+7
-4
No files found.
play.js
View file @
466cdcb4
let
version
=
'1.3.
2
'
let
version
=
'1.3.
3
'
let
release
=
`<div><br/>
let
release
=
`<div><br/>
<br/>1. <br/>
<br/>1. <br/>
fix issue: 原获取排名链接失效<br/>
原获取排名链接失效不单独通知<br/>
add: 获取失败使用上次成功获取的数据<br/>
<div/>
<div/>
<br/>
<br/>
<br/>
<br/>
...
@@ -432,7 +431,11 @@ async function getTop100() {
...
@@ -432,7 +431,11 @@ async function getTop100() {
})
})
.
catch
(
err
=>
{
.
catch
(
err
=>
{
log
(
`获取排名<
${
monitorRegion
[
region
]}
> 错误:
${
err
.
message
}
`
,
true
)
log
(
`获取排名<
${
monitorRegion
[
region
]}
> 错误:
${
err
.
message
}
`
,
true
)
errorLog
.
push
(
`(该行仅发送报告, 忽略, 会使用之前获取的列表数据)
${
gplay
.
category
[
type
]}
获取排名<
${
monitorRegion
[
region
]}
> 错误:
${
err
.
message
}
`
)
if
(
err
.
toString
().
includes
(
'404'
))
{
log
(
`这个 API 问题先不公开通知`
);
}
else
{
errorLog
.
push
(
`
${
gplay
.
category
[
type
]}
获取排名<
${
monitorRegion
[
region
]}
> 错误:
${
err
.
message
}
`
)
}
// 获取排名不到直接不管, 使用上次成功获取的数据
// 获取排名不到直接不管, 使用上次成功获取的数据
// throw `${gplay.category[type]}获取排名<${monitorRegion[region]}> 错误: ${err.message}`
// throw `${gplay.category[type]}获取排名<${monitorRegion[region]}> 错误: ${err.message}`
})
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment