diff --git a/lib/src/dartness.dart b/lib/src/dartness.dart index 13390034..ef724dd9 100644 --- a/lib/src/dartness.dart +++ b/lib/src/dartness.dart @@ -35,6 +35,9 @@ class Dartness { for (final interceptor in interceptors) { addInterceptor(interceptor); } + for (final errorHandler in errorHandlers) { + addErrorHandler(errorHandler); + } } /// Starts the [_server].