summaryrefslogtreecommitdiff
path: root/src/py_journal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/py_journal.cc')
-rw-r--r--src/py_journal.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/py_journal.cc b/src/py_journal.cc
index d309cf95..2196a2ef 100644
--- a/src/py_journal.cc
+++ b/src/py_journal.cc
@@ -365,7 +365,7 @@ void export_journal()
;
#define EXC_TRANSLATE(type) \
- register_exception_translator<type>(&exc_translate_ ## type);
+ register_error_translator<type>(&exc_translate_ ## type);
EXC_TRANSLATE(balance_error);
EXC_TRANSLATE(interval_expr_error);