mirror of
https://github.com/AxioDL/logvisor.git
synced 2025-12-08 13:15:09 +00:00
Compare commits
1 Commits
01e291833b
...
3da29add5f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3da29add5f |
@@ -247,14 +247,19 @@ static void AbortHandler(int signum) {
|
||||
switch (signum) {
|
||||
case SIGSEGV:
|
||||
Log.report(logvisor::Fatal, "Segmentation Fault");
|
||||
break;
|
||||
case SIGILL:
|
||||
Log.report(logvisor::Fatal, "Bad Execution");
|
||||
break;
|
||||
case SIGFPE:
|
||||
Log.report(logvisor::Fatal, "Floating Point Exception");
|
||||
break;
|
||||
case SIGABRT:
|
||||
Log.report(logvisor::Fatal, "Abort Signal");
|
||||
break;
|
||||
default:
|
||||
Log.report(logvisor::Fatal, "unknown signal %d", signum);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user