Skip to content

Commit

Permalink
chore: minor fixmes
Browse files Browse the repository at this point in the history
  • Loading branch information
patriknw committed Dec 18, 2024
1 parent a42b7fc commit 273ac52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import akka.javasdk.view.View
import akka.javasdk.workflow.Workflow
import akka.runtime.sdk.spi.ConsumerDestination
import akka.runtime.sdk.spi.ConsumerSource
// TODO: abstract away spring dependency
import akka.javasdk.impl.reflection.Reflect.Syntax._

/**
Expand Down
7 changes: 2 additions & 5 deletions akka-javasdk/src/main/scala/akka/javasdk/impl/SdkRunner.scala
Original file line number Diff line number Diff line change
Expand Up @@ -622,11 +622,8 @@ private final class Sdk(
val messages = message :: detail ::: seeDocs
val logMessage = messages.mkString("\n\n")

// ignoring waring for runtime version
// TODO: remove it once we remove this check in the runtime
if (err.code != "AK-00010") {
SdkRunner.userServiceLog.atLevel(err.severity).log(logMessage)
}
SdkRunner.userServiceLog.atLevel(err.severity).log(logMessage)

SdkRunner.FutureDone
}

Expand Down

0 comments on commit 273ac52

Please sign in to comment.