Skip to content

Commit 274cb8c

Browse files
More sensible message for 401 error
1 parent 950740f commit 274cb8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/assets/javascripts/lit/sources.js.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ $ ->
1414
404: ->
1515
$('.loading').text('Could not update synchronization status, please try refreshing page')
1616
401: ->
17-
$('.loading').text('Invalid API key, please check source settings')
17+
$('.loading').text('You are not authorized. Please check if you are properly logged in')
1818
500: ->
1919
$('.loading').text('Something went wrong, please try synchronizing again')
2020
error: ->

0 commit comments

Comments
 (0)