mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-12 09:23:09 -06:00
Add appropriate log msg
This commit is contained in:
parent
8e2cfe6b39
commit
91587eeaf2
|
|
@ -415,7 +415,7 @@ func Register(
|
|||
if r.Username == "" {
|
||||
id, err := accountDB.GetNewNumericLocalpart(req.Context())
|
||||
if err != nil {
|
||||
return jsonerror.InternalServerError()
|
||||
return httputil.LogThenError(req, err)
|
||||
}
|
||||
|
||||
r.Username = strconv.FormatInt(id, 10)
|
||||
|
|
|
|||
Loading…
Reference in a new issue