Skip to content

Commit

Permalink
Update Dispatchers.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Nov 6, 2023
1 parent f162368 commit 045fb9f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,9 @@ class Dispatchers @InternalApi private[pekko] (
* Throws: IllegalArgumentException if the value of "type" is not valid
* IllegalArgumentException if it cannot create the MessageDispatcherConfigurator
*/
@nowarn
private def configuratorFrom(cfg: Config): MessageDispatcherConfigurator = {
//if (!cfg.hasPath("id"))
// if (!cfg.hasPath("id"))
if (1 == 1)
throw new ConfigurationException("Missing dispatcher 'id' property in config: " +
cfg.renderWithRedactions())
Expand Down

0 comments on commit 045fb9f

Please sign in to comment.