Skip to content

Tricky error related to 500 error pages #910

Closed
symfony/webpack-encore-bundle
#74
@javiereguiluz

Description

@javiereguiluz

Yesterday I merged #909 as an (ugly) temporary solution to a very tricky error.

How to reproduce the error:

  • Use prod and debug=0 in .env
  • Comment the DATABASE_URL config to trigger a 500 error
  • The 500 error page sometimes is styled with CSS and sometimes isn't:
    • The 500 error for this page shows styles: /en/blog/posts/lorem-ipsum-dolor-sit-amet-consectetur-adipiscing-elit
    • The 500 error for this page doesn't: /en/blog/

Can anyone spot the reason and provide a pull request to fix it? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions