Skip to content

Commit

Permalink
get actual error
Browse files Browse the repository at this point in the history
  • Loading branch information
fschoenfeldt committed Aug 31, 2024
1 parent 627b842 commit d762c0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
pnpm exec playwright install --with-deps
- name: Run Playwright tests
working-directory: test/e2e
run: pnpm test
run: pnpm test -- --project chromium --trace on home.spec.ts:49
env:
AUTH0_DOMAIN: ${{ secrets.AUTH0_DOMAIN }}
AUTH0_CLIENT_ID: ${{ secrets.AUTH0_CLIENT_ID }}
Expand Down
2 changes: 1 addition & 1 deletion lib/fotohaecker/content/upload_photo.ex
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ defmodule Fotohaecker.Content.UploadPhoto do
Content.create_photo(submission_params)

{:error, reason} ->
Logger.error("error compressing photo: #{inspect(reason)}")
IO.warn("error compressing photo: #{inspect(reason)}")
message = FotohaeckerWeb.Gettext.dgettext("errors", "photo compression failed")
{:error, message}
end
Expand Down

0 comments on commit d762c0f

Please sign in to comment.