diff options
Diffstat (limited to 'pjlib/src/pjlib-test/exception.c')
-rw-r--r-- | pjlib/src/pjlib-test/exception.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pjlib/src/pjlib-test/exception.c b/pjlib/src/pjlib-test/exception.c index fcbe098c..31a4a545 100644 --- a/pjlib/src/pjlib-test/exception.c +++ b/pjlib/src/pjlib-test/exception.c @@ -83,6 +83,9 @@ static int test(void) if (!rc) rc = 0; } PJ_DEFAULT { + int id = PJ_GET_EXCEPTION(); + PJ_LOG(3,("", "...error: got unexpected exception %d (%s)", + id, pj_exception_id_name(id))); if (!rc) rc = -20; } PJ_END; |