Skip to content

Commit

Permalink
induce formatting change
Browse files Browse the repository at this point in the history
  • Loading branch information
agnesgaroux committed Sep 2, 2024
1 parent 65d2603 commit adb12ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion builds/run_sbt_task_in_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ else
fi

docker run --tty --rm \
-e AWS_ACCESS_KEY_ID="${AWS_ACCESS_KEY_ID:-}" \
-e AWS_ACCESS_KEY_ID="${AWS_ACCESS_KEY_ID:-}" \
-e AWS_SECRET_KEY="${AWS_SECRET_KEY:-}" \
-e AWS_SESSION_TOKEN="${AWS_SESSION_TOKEN:-}" \
--volume ~/.sbt:/root/.sbt \
Expand Down
4 changes: 1 addition & 3 deletions messaging/src/main/scala/weco/messaging/MessageSender.scala
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ trait MessageSender[Destination] extends Logging {
def send(body: String): Try[Unit] =
underlying.send(body)(subject, destination) match {
case Failure(err) =>
error(
s"Unable to send message (body=$body) to destination $destination: $err",
err)
error(s"Unable to send message (body=$body) to destination $destination: $err", err)
Failure(err)

case Success(_) => Success(())
Expand Down

0 comments on commit adb12ca

Please sign in to comment.