Fixing silent errors

Errors get lost in the domain and never reach the error handler.