Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed
- Location of `vn_simona` test grid (was partially in Berlin and Dortmund)
- Let `ParticipantAgent` die after failed registration with secondary services (prevents stuck simulation)

[Unreleased]: https://github.com/ie3-institute/simona/compare/a14a093239f58fca9b2b974712686b33e5e5f939...HEAD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

package edu.ie3.simona.agent.participant

import akka.actor.{ActorRef, FSM}
import akka.actor.{ActorRef, FSM, PoisonPill}
import akka.event.LoggingAdapter
import akka.util
import akka.util.Timeout
Expand Down Expand Up @@ -452,6 +452,7 @@ protected trait ParticipantAgentFundamentals[
)
}
case RegistrationResponseMessage.RegistrationFailedMessage =>
self ! PoisonPill
throw new ActorNotRegisteredException(
s"Registration of actor $actorName for ${sender()} failed."
)
Expand Down