donate-cpu-server.py: fixed daca crash report (#3092)
This commit is contained in:
parent
49e6e83bc3
commit
99d9abee41
|
@ -22,7 +22,7 @@ import operator
|
||||||
# Version scheme (MAJOR.MINOR.PATCH) should orientate on "Semantic Versioning" https://semver.org/
|
# Version scheme (MAJOR.MINOR.PATCH) should orientate on "Semantic Versioning" https://semver.org/
|
||||||
# Every change in this script should result in increasing the version number accordingly (exceptions may be cosmetic
|
# Every change in this script should result in increasing the version number accordingly (exceptions may be cosmetic
|
||||||
# changes)
|
# changes)
|
||||||
SERVER_VERSION = "1.3.9"
|
SERVER_VERSION = "1.3.10"
|
||||||
|
|
||||||
OLD_VERSION = '2.3'
|
OLD_VERSION = '2.3'
|
||||||
|
|
||||||
|
@ -186,7 +186,7 @@ def crashReport(results_path: str) -> str:
|
||||||
break
|
break
|
||||||
if line.find(' received signal ') != -1:
|
if line.find(' received signal ') != -1:
|
||||||
crash_line = next(file_, '').strip()
|
crash_line = next(file_, '').strip()
|
||||||
location_index = crash_line.rindex(' at ')
|
location_index = crash_line.rfind(' at ')
|
||||||
if location_index > 0:
|
if location_index > 0:
|
||||||
code_line = next(file_, '').strip()
|
code_line = next(file_, '').strip()
|
||||||
stack_trace = []
|
stack_trace = []
|
||||||
|
|
Loading…
Reference in New Issue