Fixing Error Logging
Dieser Commit ist enthalten in:
Ursprung
842c6e046c
Commit
71ad90ea2f
@ -50,8 +50,7 @@ public class PollAnswer {
|
|||||||
return new PollAnswer(userID, PollSystem.getQuestion());
|
return new PollAnswer(userID, PollSystem.getQuestion());
|
||||||
return new PollAnswer(rs);
|
return new PollAnswer(rs);
|
||||||
} catch (SQLException e) {
|
} catch (SQLException e) {
|
||||||
BungeeCore.log("Unable to get PollAnswer", e);
|
throw new SecurityException("Unable to get PollAnswer", e);
|
||||||
throw new SecurityException();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -64,8 +63,7 @@ public class PollAnswer {
|
|||||||
}
|
}
|
||||||
return retMap;
|
return retMap;
|
||||||
}catch (SQLException e) {
|
}catch (SQLException e) {
|
||||||
BungeeCore.log("Unable to get PollAnswer", e);
|
throw new SecurityException("Unable to get PollAnswer", e);
|
||||||
throw new SecurityException();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,8 +74,7 @@ public class PollAnswer {
|
|||||||
throw new SecurityException("Could not get PollAnswers");
|
throw new SecurityException("Could not get PollAnswers");
|
||||||
return set.getInt("Times");
|
return set.getInt("Times");
|
||||||
}catch (SQLException e) {
|
}catch (SQLException e) {
|
||||||
BungeeCore.log("Unable to get PollAnswer", e);
|
throw new SecurityException("Unable to get PollAnswer", e);
|
||||||
throw new SecurityException();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren