diff options
author | Alex Chen <Cnly@users.noreply.github.com> | 2019-07-10 00:33:52 +0800 |
---|---|---|
committer | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2019-07-09 17:33:52 +0100 |
commit | 86e65bb22d49ef2e6b5d5724e6e1fd0327f200c6 (patch) | |
tree | 0cce0997c6341f8d149bd375a7f66fd0b99446b3 /clientapi/routing/login.go | |
parent | 6106ec1399b4dd2dc90ca577cfcb1ec019f05507 (diff) |
Add back missing returns for httputil.LogThenError calls (#730)
Signed-off-by: Alex Chen <minecnly@gmail.com>
Diffstat (limited to 'clientapi/routing/login.go')
-rw-r--r-- | clientapi/routing/login.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clientapi/routing/login.go b/clientapi/routing/login.go index abcf7f56..2e2d409f 100644 --- a/clientapi/routing/login.go +++ b/clientapi/routing/login.go @@ -107,7 +107,7 @@ func Login( token, err := auth.GenerateAccessToken() if err != nil { - httputil.LogThenError(req, err) + return httputil.LogThenError(req, err) } dev, err := getDevice(req.Context(), r, deviceDB, acc, localpart, token) |