Bad error message when no password entered
kenkku opened this issue · 4 comments
kenkku commented
The plugin just shows "403 Forbidden" when submitting answer and password is not set. Related: #53
mpartel commented
The fix is probably to add a call to ServerErrorHelper.getServerExceptionMsg
to whatever component is causing that error.
nimirum commented
Should ServerErrorHelper.getServerExceptionMsg(ex)
be added in to bgTaskFailed(Throwable ex)
in TestRunHandler
? It is already in ExerciseSubmitter
.
jamo commented
I guess so.
nimirum commented
Should all error messages be like this?
dialogs.displayError("Failed to check for new exercises.\n" + ServerErrorHelper.getServerExceptionMsg(ex));