Better error message
This commit is contained in:
parent
e4ecba5254
commit
ddcb71b475
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ public class RealDatabaseConnector implements DatabaseConnector {
|
|||
return response;
|
||||
}
|
||||
else {
|
||||
errorMsg = "ERROR: "+urlConnection.getResponseCode();
|
||||
errorMsg = "ERROR "+urlConnection.getResponseCode()+": "+urlConnection.getResponseMessage();
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue