Fix error message

This commit is contained in:
Him188 2020-02-07 21:41:08 +08:00
parent c0dbd3344a
commit a8aded9bf9

View File

@ -340,7 +340,7 @@ internal class GroupImpl(
override operator fun get(id: Long): Member { override operator fun get(id: Long): Member {
return members.delegate.filteringGetOrNull { it.id == id } ?: throw NoSuchElementException("for group id $id") return members.delegate.filteringGetOrNull { it.id == id } ?: throw NoSuchElementException("member $id not found in group $uin")
} }
override fun contains(id: Long): Boolean { override fun contains(id: Long): Boolean {