c87c1cb3b9
Improve error messages when file editing fails Give more specific errors in API responses and web UI flash messages when a file update fails. See #1479. Instead of returning false from `Gitlab::Satellite::Files::EditFileAction#commit!` when a `Grit::Git::CommandFailed` error is raised, now `#commit!` raises a different error depending on whether the failure happened during checkout, commit, or push. @dzaporozhets Please let me know if you want to change the HTTP status codes or the error messages in `Files::UpdateService` cc @sytse See merge request !1569 |
||
---|---|---|
.. | ||
backend | ||
diff | ||
github_import | ||
gitlab_import | ||
gitorious_import | ||
graphs | ||
ldap | ||
middleware | ||
oauth | ||
satellite | ||
sidekiq_middleware | ||
access.rb | ||
app_logger.rb | ||
auth.rb | ||
blacklist.rb | ||
closing_issue_extractor.rb | ||
commits_calendar.rb | ||
compare_result.rb | ||
config_helper.rb | ||
contributors.rb | ||
current_settings.rb | ||
force_push_check.rb | ||
git.rb | ||
git_access.rb | ||
git_access_status.rb | ||
git_access_wiki.rb | ||
git_logger.rb | ||
git_ref_validator.rb | ||
identifier.rb | ||
import_formatter.rb | ||
inline_diff.rb | ||
issues_labels.rb | ||
logger.rb | ||
markdown.rb | ||
markdown_helper.rb | ||
popen.rb | ||
production_logger.rb | ||
project_search_results.rb | ||
push_data_builder.rb | ||
reference_extractor.rb | ||
regex.rb | ||
search_results.rb | ||
seeder.rb | ||
sidekiq_logger.rb | ||
snippet_search_results.rb | ||
theme.rb | ||
upgrader.rb | ||
url_builder.rb | ||
user_access.rb | ||
utils.rb | ||
version_info.rb | ||
visibility_level.rb |