m1n1.fw.asc.crash: Raise exception on ASC crashes

Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
Hector Martin 2022-01-16 18:57:18 +09:00
parent df481228b7
commit fb9cdcb1e9

View file

@ -149,6 +149,7 @@ class ASCCrashLogEndpoint(ASCBaseEndpoint):
open("crash.bin", "wb").write(crashdata)
clog = CrashLogParser(crashdata)
clog.dump()
raise Exception("ASC crashed!")
return True