Add a check if user exists when registering, atm 500 is returned from SockShop when attempting to register an existing user.
The request sender receives:
ExecutionRS(result=org.k8loud.executor.exception.CNAppException [SOCK_SHOP_REGISTER_USER_FAILED]: org.k8loud.executor.exception.HTTPException [HTTP_RESPONSE_STATUS_CODE_NOT_SUCCESSFUL]: 500, exitCode=NOT_OK, additionalData=null)
but we can do better with a designated exception code
Add a check if user exists when registering, atm 500 is returned from SockShop when attempting to register an existing user.
The request sender receives:
but we can do better with a designated exception code