-
Notifications
You must be signed in to change notification settings - Fork 292
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
Detect os in build.gradle, add error reportrer #181
Conversation
private object AnonymousFeedback { | ||
private const val tokenFile = "de/halirutan/mathematica/errorreporting-emmylua/token.bin" | ||
private const val gitRepoUser = "EmmyLua" | ||
private const val gitRepo = "IntelliJ-EmmyLua" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tangzx Change repo user and name
"error.hash" to error.exceptionHash) | ||
for (attachment in error.attachments) { | ||
params["attachment.name"] = attachment.name | ||
params["attachment.value"] = attachment.encodedBytes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
循环里值会被覆盖,这个没问题?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
卧槽。我写的时候还没注意到,我改一下吧
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我已经在最后的版本里面改了
我错了,我本地不小心push到origin了。。 |
val params = mutableMapOf( | ||
"error.description" to error.description, | ||
// TODO | ||
// "Lua Version" to (project?.run { /* get lua sdk version here */ } ?: "Unknown"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
阿唐你看要不要在这里加点获取当前信息的代码 @tangzx
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
就这样吧,我看已经很OK了
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我觉得可以把Lua的SDK信息也放进来啊,这样你好调试什么的
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
真的,不然很无语的
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
那个SDK是假的,暂时没作用
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
No description provided.