Skip to content

Conversation

@tgregory86
Copy link
Contributor

Notify on every speedtest run failing:

[2024-06-11 12:38:08] production.ERROR: Undefined variable $event {"exception":"[object] (ErrorException(code: 0): Undefined variable $event at /app/www/app/Mail/SpeedtestCompletedMail.php:51) [stacktrace]

📃 Description

A short description of the pull request changes should go here and the sections below should list in detail all changes. You can remove the sections you don't need.

Fix issue with Notify on every speedtest run failing

🪵 Changelog

➕ Added

  • one
  • two

✏️ Changed

  • /app/www/app/Mail/SpeedtestCompletedMail.php
  • two

🔧 Fixed

  • one
  • two

🗑️ Removed

  • one
  • two

📷 Screenshots

If this PR has any UI/UX changes it's strongly suggested you add screenshots here.

Notify on every speedtest run failing:

[2024-06-11 12:38:08] production.ERROR: Undefined variable $event {"exception":"[object] (ErrorException(code: 0): Undefined variable $event at /app/www/app/Mail/SpeedtestCompletedMail.php:51)
[stacktrace]
@tgregory86 tgregory86 requested a review from alexjustesen as a code owner June 11, 2024 16:46
@alexjustesen
Copy link
Owner

@tgregory86 looks like the same issue in the threshold file as well, do you mind committing a fix for that too?

Copy link
Owner

@alexjustesen alexjustesen left a comment

Choose a reason for hiding this comment

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

Please also fix threshold reference as well.

@svenvg93
Copy link
Contributor

@alexjustesen Sorry for causing this bug :(
Just for my understanding why is mail using this and the others event

@alexjustesen
Copy link
Owner

@alexjustesen Sorry for causing this bug :( Just for my understanding why is mail using this and the others event

It was a my-bad, I missed it in the review. Mail uses $this-> because the result is passed directly into the mailable and the mailable doesn't take the full event just the data.

@svenvg93
Copy link
Contributor

@alexjustesen Sorry for causing this bug :( Just for my understanding why is mail using this and the others event

It was a my-bad, I missed it in the review. Mail uses $this-> because the result is passed directly into the mailable and the mailable doesn't take the full event just the data.

Thanks for explaining!

@alexjustesen alexjustesen added this to the v0.20.x milestone Jun 12, 2024
@alexjustesen alexjustesen added the bug Something isn't working label Jun 12, 2024
@tgregory86
Copy link
Contributor Author

Please also fix threshold reference as well.

Done

@tgregory86 tgregory86 requested a review from alexjustesen June 12, 2024 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants