Skip to content

Commit ed37509

Browse files
authored
Merge branch 'master' into contest-leaderboard-hiding
2 parents c9fc4c3 + d0ae948 commit ed37509

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

.github/workflows/cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
env:
2525
MIX_ENV: prod
2626
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27-
ELIXIR_VERSION: '1.11.4'
28-
OTP_VERSION: '24.0'
27+
ELIXIR_VERSION: '1.12.3'
28+
OTP_VERSION: '24.0.6'
2929
steps:
3030
- uses: rlespinasse/[email protected]
3131
- uses: actions/checkout@v2

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
env:
2424
MIX_ENV: test
2525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26-
ELIXIR_VERSION: '1.11.4'
27-
OTP_VERSION: '24.0'
26+
ELIXIR_VERSION: '1.12.3'
27+
OTP_VERSION: '24.0.6'
2828
services:
2929
postgres:
3030
image: postgres:13.1

lib/cadet/jobs/autograder/lambda_worker.ex

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ defmodule Cadet.Autograder.LambdaWorker do
4444

4545
def on_failure(%{answer: answer = %Answer{}, question: %Question{}}, error) do
4646
error_message =
47-
"Failed to get autograder result. answer_id: #{answer.id}, error: #{
48-
inspect(error, pretty: true)
49-
}"
47+
"Failed to get autograder result. answer_id: #{answer.id}, error: #{inspect(error, pretty: true)}"
5048

5149
Logger.error(error_message)
5250
Sentry.capture_message(error_message)

0 commit comments

Comments
 (0)