Skip to content

Commit

Permalink
Merge pull request #5957 from pranay414/fix-submodule-error-message
Browse files Browse the repository at this point in the history
Improve error message for invalid submodule URLs
  • Loading branch information
stsewd authored Jul 19, 2019
2 parents 356d811 + f60f9a8 commit 3806cbb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion readthedocs/projects/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ class RepositoryError(BuildEnvironmentError):
'Private repositories are not supported.',
)

INVALID_SUBMODULES = _('One or more submodule URLs are not valid: {}.')
INVALID_SUBMODULES = _(
'One or more submodule URLs are not valid: {}, '
'git/ssh URL schemas for submodules are not supported.'
)
INVALID_SUBMODULES_PATH = _(
'One or more submodule paths are not valid. '
'Check that all your submodules in .gitmodules are used.'
Expand Down

0 comments on commit 3806cbb

Please sign in to comment.