Skip to content

Commit

Permalink
Update Elixir and OTP versions
Browse files Browse the repository at this point in the history
  • Loading branch information
angelsl committed Sep 17, 2021
1 parent 277554a commit d0ae948
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
env:
MIX_ENV: prod
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ELIXIR_VERSION: '1.11.4'
OTP_VERSION: '24.0'
ELIXIR_VERSION: '1.12.3'
OTP_VERSION: '24.0.6'
steps:
- uses: rlespinasse/github-slug-action@v3.x
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
env:
MIX_ENV: test
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ELIXIR_VERSION: '1.11.4'
OTP_VERSION: '24.0'
ELIXIR_VERSION: '1.12.3'
OTP_VERSION: '24.0.6'
services:
postgres:
image: postgres:13.1
Expand Down
4 changes: 1 addition & 3 deletions lib/cadet/jobs/autograder/lambda_worker.ex
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ defmodule Cadet.Autograder.LambdaWorker do

def on_failure(%{answer: answer = %Answer{}, question: %Question{}}, error) do
error_message =
"Failed to get autograder result. answer_id: #{answer.id}, error: #{
inspect(error, pretty: true)
}"
"Failed to get autograder result. answer_id: #{answer.id}, error: #{inspect(error, pretty: true)}"

Logger.error(error_message)
Sentry.capture_message(error_message)
Expand Down

0 comments on commit d0ae948

Please sign in to comment.