mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🔥 Remove Sentry reporting diagnostic data https://github.com/siyuan-note/siyuan/issues/13522
This commit is contained in:
parent
d83d5ff74f
commit
5fb2b78911
6 changed files with 12 additions and 48 deletions
|
|
@ -634,23 +634,6 @@ func setGoogleAnalytics(c *gin.Context) {
|
|||
model.Conf.Save()
|
||||
}
|
||||
|
||||
func setUploadErrLog(c *gin.Context) {
|
||||
ret := gulu.Ret.NewResult()
|
||||
defer c.JSON(http.StatusOK, ret)
|
||||
|
||||
arg, ok := util.JsonArg(c, ret)
|
||||
if !ok {
|
||||
return
|
||||
}
|
||||
|
||||
uploadErrLog := arg["uploadErrLog"].(bool)
|
||||
model.Conf.System.UploadErrLog = uploadErrLog
|
||||
model.Conf.Save()
|
||||
|
||||
util.PushMsg(model.Conf.Language(42), 1000*15)
|
||||
time.Sleep(time.Second * 3)
|
||||
}
|
||||
|
||||
func setAutoLaunch(c *gin.Context) {
|
||||
ret := gulu.Ret.NewResult()
|
||||
defer c.JSON(http.StatusOK, ret)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue