Create AsyncError and wrap domain error in it.  Move error logging to error handler.