Add a tad more information, although it actually might mean nothing at all.
This commit is contained in:
parent
2b6b970b80
commit
a112b39c84
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <simgear/compiler.h>
|
#include <simgear/compiler.h>
|
||||||
#include <simgear/structure/exception.hxx>
|
#include <simgear/structure/exception.hxx>
|
||||||
|
@ -190,6 +191,7 @@ int main ( int argc, char **argv ) {
|
||||||
<< "\n (received from " << t.getOrigin() << ')' << endl;
|
<< "\n (received from " << t.getOrigin() << ')' << endl;
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
cerr << "Unknown exception in the main loop. Aborting..." << endl;
|
cerr << "Unknown exception in the main loop. Aborting..." << endl;
|
||||||
|
perror("Possible cause");
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue