Better restler error handling