error handling improving started, error handler for restadapter