Skip to content

Commit d5c4cc2

Browse files
committed
clarify the access denied message for invenio data source
1 parent 6d49fcf commit d5c4cc2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/galaxy/files/sources/invenio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ def _ensure_response_has_expected_status_code(self, response, expected_status_co
752752

753753
def _raise_auth_required(self):
754754
raise AuthenticationRequired(
755-
f"Please provide a personal access token in your user's preferences for '{self.plugin.label}'"
755+
f"Access denied. Please make sure you have provided a personal access token in your user's preferences for '{self.plugin.label}'"
756756
)
757757

758758
def _get_response_error_message(self, response):

0 commit comments

Comments
 (0)