summaryrefslogtreecommitdiff
path: root/src/raptor_serialize_dot.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_dot.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_dot.c')
-rw-r--r--src/raptor_serialize_dot.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/raptor_serialize_dot.c b/src/raptor_serialize_dot.c
index ddebfd09..d21762ba 100644
--- a/src/raptor_serialize_dot.c
+++ b/src/raptor_serialize_dot.c
@@ -257,7 +257,9 @@ raptor_dot_serializer_write_term(raptor_serializer * serializer,
case RAPTOR_TERM_TYPE_UNKNOWN:
default:
- RAPTOR_FATAL2("Unknown type %d", term->type);
+ raptor_log_error_formatted(serializer->world, RAPTOR_LOG_LEVEL_ERROR,
+ NULL, "Triple has unsupported term type %d",
+ term->type);
}
}