crt: tests: update t_trycatch

Previously, this test would simply print an error message if exception was not
thrown. Instead, exit with non-zero to signal an error.

Signed-off-by: Kirill Makurin <maiddaisuki@outlook.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
1 file changed