summaryrefslogtreecommitdiff
path: root/src/raptor_serialize_ntriples.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/raptor_serialize_ntriples.c')
-rw-r--r--src/raptor_serialize_ntriples.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/raptor_serialize_ntriples.c b/src/raptor_serialize_ntriples.c
index cc39a921..61fc2fcc 100644
--- a/src/raptor_serialize_ntriples.c
+++ b/src/raptor_serialize_ntriples.c
@@ -173,7 +173,9 @@ raptor_term_ntriples_write(const raptor_term *term, raptor_iostream* iostr)
case RAPTOR_TERM_TYPE_UNKNOWN:
default:
- RAPTOR_FATAL2("Unknown raptor_term type %d", term->type);
+ raptor_log_error_formatted(term->world, RAPTOR_LOG_LEVEL_ERROR, NULL,
+ "Triple has unsupported term type %d",
+ term->type);
return 1;
}