Posts: 721
Threads: 77
Joined: Apr 2014
Thanks: 113
Given 130 thank(s) in 91 post(s)
05-04-2015, 05:37 PM
(This post was last modified: 05-04-2015, 08:24 PM by LogicParrot.)
When people report a stacktrace to a bug you just fixed, it's hard to tell whether they're using the version prior to the fix, or whether you didn't really fix the bug. I'm not sure if it's technically possible but: Is it possible to make MCServer report, say, the latest commit hash as part of the stacktrace?
Posts: 783
Threads: 12
Joined: Jan 2014
Thanks: 2
Given 73 thank(s) in 61 post(s)
05-04-2015, 06:01 PM
(This post was last modified: 05-04-2015, 06:09 PM by worktycho.)
If its one of bearbin's build's its at the beginning of the server log. It would be trivial to add the information to the crash dump, it's in BuildInfo.h.
I've created a pull request to do this. It will only work on the automated builds until someone implements #1766.