summaryrefslogtreecommitdiff
path: root/src/raptor_serialize_ntriples.c
diff options
context:
space:
mode:
authorDave Beckett <dave@dajobe.org>2011-01-21 15:54:39 +0000
committerDave Beckett <dave@dajobe.org>2011-01-21 15:54:39 +0000
commit2717213db92b6741eb8344f091a320f08425658b (patch)
treefd35f7d9feb025ae5bec56f302c536dafa294186 /src/raptor_serialize_ntriples.c
parent2c56d9fdb3ce453ee351550b5459779215ccc89c (diff)
downloadraptor-2717213db92b6741eb8344f091a320f08425658b.tar.gz
Replace all RAPTOR_FATAL with error log messages in user builds
All RAPTOR_FATAL calls are now only called inside RAPTOR_DEBUG blocks.
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;
}