[PR #536] fix(rest): cancel() logged its warning as a resume event #508

Open
opened 2026-10-15 13:01:07 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/games-on-whales/wolf/pull/536
Author: @jdonaldson
Created: 10/10/2026
Status: 🔄 Open

Base: stable ← Head: fix/cancel-log-message


📝 Commits (1)

  • a01d81a fix(rest): cancel() logged its warning as a resume event

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 src/moonlight-server/rest/endpoints.hpp (+1 -1)

📄 Description

The unregistered-session branch of cancel() in rest/endpoints.hpp was copied from resume() and still logs Received resume event from an unregistered session. A stray cancel and a stray resume are therefore indistinguishable in the log, which cost me a detour while reading logs for #501.

One-word change in the message string. No behaviour change.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/games-on-whales/wolf/pull/536 **Author:** [@jdonaldson](https://github.com/jdonaldson) **Created:** 10/10/2026 **Status:** 🔄 Open **Base:** `stable` ← **Head:** `fix/cancel-log-message` --- ### 📝 Commits (1) - [`a01d81a`](https://github.com/games-on-whales/wolf/commit/a01d81a67bcc0a42996ed5477cdb08a1702d36d3) fix(rest): cancel() logged its warning as a resume event ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/moonlight-server/rest/endpoints.hpp` (+1 -1) </details> ### 📄 Description The unregistered-session branch of `cancel()` in `rest/endpoints.hpp` was copied from `resume()` and still logs `Received resume event from an unregistered session`. A stray cancel and a stray resume are therefore indistinguishable in the log, which cost me a detour while reading logs for #501. One-word change in the message string. No behaviour change. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
games-on-whales/wolf#508
No description provided.