src/crashCatcher.cpp

changeset 1159
6ad8cdcd88d9
parent 1116
3b1d2cc6603e
child 1326
69a90bd2dba2
equal deleted inserted replaced
1158:35ceb74fe53e 1159:6ad8cdcd88d9
129 for (int signal : signalsToCatch) 129 for (int signal : signalsToCatch)
130 { 130 {
131 if (sigaction(signal, &sighandler, nullptr) == -1) 131 if (sigaction(signal, &sighandler, nullptr) == -1)
132 fprint(stderr, "Couldn't set signal handler %1: %2", signal, strerror(errno)); 132 fprint(stderr, "Couldn't set signal handler %1: %2", signal, strerror(errno));
133 } 133 }
134
135 print("Crash catcher hooked to signals: %1\n", signalsToCatch);
136 } 134 }
137 135
138 #endif // Q_OS_UNIX 136 #endif // Q_OS_UNIX

mercurial