You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see in learn-submit/lib/learn_submit/submission/git_interactor.rb that there are the following lines (starting on line 114):
defcommit_changesputs'Committing changes...'begingit.commit(message)rescueGit::GitExecuteError=>eife.message.match(/nothing to commit/)puts"It looks like you have no changes to commit. Will still try updating your submission..."elseputs'Sorry, something went wrong. Please try again.'exit1endendend
The "Sorry, something went wrong. Please try again." line sort of obscures the issue. Could it instead (in addition to printing that line) print the contents of e.message? That way it might be easier to diagnose the problem.
That could also be done in the other areas where a similar message is printed.
I just got this output when trying to submit:
I see in
learn-submit/lib/learn_submit/submission/git_interactor.rbthat there are the following lines (starting on line 114):The "Sorry, something went wrong. Please try again." line sort of obscures the issue. Could it instead (in addition to printing that line) print the contents of
e.message? That way it might be easier to diagnose the problem.That could also be done in the other areas where a similar message is printed.