Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
"Drum Pads" (distinct from the in-strip Kit/Pads toggle); the Mixer tooltip
matches the Control Bar's wording; and the create-song year placeholder is current.

- **The replace-audio persistence failure path no longer leaks exception
details or filesystem paths to the client.** The handler now logs the full
traceback server-side via `logging.getLogger("slopsmith.plugin.editor").exception(...)`
and returns a generic `"persist failed — see server logs"` response, matching
the codebase's existing structured-logging convention.

### Added

- **Track regions — import a drum part into an existing project as a placed,
Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "editor",
"name": "Arrangement Editor",
"version": "1.8.1",
"version": "1.8.2",
"description": "Build and edit feedpak arrangements — import Guitar Pro tabs, sync audio, and tune every note.",
"category": "creation",
"icon": "assets/thumb.png",
Expand Down
9 changes: 6 additions & 3 deletions routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -7097,9 +7097,12 @@ async def replace_audio(data: dict):
next_step = "none"
else:
next_step = "save"
except Exception as e:
print(f"[Editor] replace-audio sloppak persist failed: {e}")
return JSONResponse({"error": f"persist failed: {e}"}, 500)
except Exception:
import logging as _elog
_elog.getLogger("slopsmith.plugin.editor").exception(
"replace-audio: sloppak persist failed"
)
return JSONResponse({"error": "persist failed — see server logs"}, 500)

return {"audio_url": audio_url, "persisted": persisted, "next_step": next_step}

Expand Down
Loading