Commit 6e8fcab
authored
fix: end buffer if exception occurs in page (#50)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Bug Fixes**
* Improved reliability when loading the Tailscale plugin page by adding
robust error handling.
* Prevents partial or corrupted page output if an error occurs during
content rendering.
* Ensures the page cleans up correctly on failures and returns
consistent content on success.
* No changes to visible functionality; enhances stability and user
experience.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Signed-off-by: Derek Kaser <[email protected]>1 parent 792ba81 commit 6e8fcab
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
51 | 56 | | |
52 | 57 | | |
53 | 58 | | |
0 commit comments