mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-28 08:05:56 -05:00
[httpd] Better log message when Spotify OAuth fails
This commit is contained in:
parent
04236029d4
commit
02078212ac
@ -54,7 +54,7 @@ oauth_reply_spotify(struct httpd_request *hreq)
|
|||||||
ret = spotifywebapi_oauth_callback(hreq->query, redirect_uri, &errmsg);
|
ret = spotifywebapi_oauth_callback(hreq->query, redirect_uri, &errmsg);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
DPRINTF(E_LOG, L_WEB, "Could not parse Spotify OAuth callback: '%s'\n", hreq->uri_parsed->uri);
|
DPRINTF(E_LOG, L_WEB, "Could not parse Spotify OAuth callback '%s': %s\n", hreq->uri_parsed->uri, errmsg);
|
||||||
httpd_send_error(hreq->req, HTTP_INTERNAL, errmsg);
|
httpd_send_error(hreq->req, HTTP_INTERNAL, errmsg);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user