Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prompt when database template field reports an error #11070

Closed
5kyfkr opened this issue Apr 17, 2024 · 8 comments
Closed

Prompt when database template field reports an error #11070

5kyfkr opened this issue Apr 17, 2024 · 8 comments
Assignees
Milestone

Comments

@5kyfkr
Copy link

5kyfkr commented Apr 17, 2024

模板列代码报错时增加报错内容显示

In what scenarios do you need this feature?

image

此问题的来源 #11064
在以上issue中,模板列报错仅在后台日志可见,当报错会影响加载性能的时候就会需要调试,所以需要提供报错提示,不然就要一直导出日志,非常繁琐。

Describe the optimal solution

可以在报错时提供额外的报错提示,在右上角弹出提示框告知,毕竟bug不解决的代码一直在后台生成报错信息也不太好,可能哪天就会有加载隐患。

Describe the candidate solution

No response

Other information

No response

@88250 88250 self-assigned this Apr 17, 2024
@88250 88250 added this to the 3.0.11 milestone Apr 17, 2024
@88250 88250 changed the title 模板列代码报错时增加报错内容显示 Prompt when database template reports an error Apr 17, 2024
@88250 88250 changed the title Prompt when database template reports an error Prompt when database template field reports an error Apr 17, 2024
@88250 88250 closed this as completed Apr 17, 2024
@TCOTC
Copy link
Contributor

TCOTC commented Apr 18, 2024

@88250 希望报错信息增加对应的数据库名称和模板列名称。

在一个文档里有多个数据库、数据库有多个模板的情况下,一打开文档就报错,找起来很麻烦

@5kyfkr
Copy link
Author

5kyfkr commented Apr 18, 2024

@88250 希望报错信息增加对应的数据库名称和模板列名称。

在一个文档里有多个数据库、数据库有多个模板的情况下,一打开文档就报错,找起来很麻烦

确实可以加下,我已经预感到下版本会很多人一打开弹出一堆报错冲进论坛的场景了。。。

@88250
Copy link
Member

88250 commented Apr 18, 2024

好的,稍后加一下数据库名和模板字段名。

@TCOTC
Copy link
Contributor

TCOTC commented Apr 18, 2024

@88250 还有就是能不能给报错之类的信息增加一个复制按钮?

@5kyfkr
Copy link
Author

5kyfkr commented Apr 18, 2024

@88250 还有重复的的报错项能不能隐藏掉也好,感觉有很多是同一段代码重复执行的报错,不然看着一堆红色弹窗血压升高。就是执行一遍后,报错以后就不再执行模板计算,后面代码更新了再执行。应该是个执行次数的问题。

@88250
Copy link
Member

88250 commented Apr 18, 2024

@88250 还有就是能不能给报错之类的信息增加一个复制按钮?

@Vanessa219

@88250
Copy link
Member

88250 commented Apr 18, 2024

@88250 还有重复的的报错项能不能隐藏掉也好,感觉有很多是同一段代码重复执行的报错,不然看着一堆红色弹窗血压升高。就是执行一遍后,报错以后就不再执行模板计算,后面修复了报错再执行。应该是个执行次数的问题。

一个模板字段只会报错一次。

@5kyfkr
Copy link
Author

5kyfkr commented Apr 18, 2024

@88250 还有重复的的报错项能不能隐藏掉也好,感觉有很多是同一段代码重复执行的报错,不然看着一堆红色弹窗血压升高。就是执行一遍后,报错以后就不再执行模板计算,后面修复了报错再执行。应该是个执行次数的问题。

一个模板字段只会报错一次。

那就好,没问题了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants