Skip to content
This repository was archived by the owner on May 3, 2023. It is now read-only.

Conversation

@pablothedude
Copy link
Contributor

@pablothedude pablothedude force-pushed the feature/add-error-page branch 5 times, most recently from df236aa to 74d929c Compare March 10, 2021 17:15
@pablothedude pablothedude requested a review from MKodde March 10, 2021 19:49
@pmeulen pmeulen force-pushed the feature/add-error-page branch from 74d929c to 6568f80 Compare March 11, 2021 13:28
@@ -0,0 +1,19 @@
<?php

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe you should add the copyright notice to this file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is still WIP, this will be fixed in: #27, after the legal team is consulted.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

public function __invoke(Throwable $exception): Response
{
return $this->render('default/error.html.twig', [
'message' => $exception->getMessage(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this desirable? Showing the exception message without being certain what text may be on there? We may run a risk at disclosing sensitive data here.

Copy link
Contributor Author

@pablothedude pablothedude Mar 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed it to use static translations

@pablothedude pablothedude force-pushed the feature/add-error-page branch from 6568f80 to a2919d3 Compare March 11, 2021 14:25
@pablothedude pablothedude requested a review from MKodde March 11, 2021 14:26
@pablothedude pablothedude merged commit 3f0b0df into remote-vetting Mar 11, 2021
@pablothedude pablothedude deleted the feature/add-error-page branch March 11, 2021 15:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants