buddy-workbench 0.1.90 → 0.1.91

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "buddy-workbench",
3
- "version": "0.1.90",
3
+ "version": "0.1.91",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "bin": {
@@ -19,6 +19,11 @@ let mozjpegWasmModule = null;
19
19
  const clipboardErrorLogTimes = new Map();
20
20
 
21
21
  function logClipboardError(stage, error) {
22
+ // Ignore benign failures due to timeout or process termination (e.g., system sleep / screen lock / display off)
23
+ if (error?.killed || error?.timedOut || error?.signal === 'SIGTERM' || error?.code === 'ETIMEDOUT') {
24
+ return;
25
+ }
26
+
22
27
  // Clipboard polling runs continuously. Avoid filling Error Log with the
23
28
  // same native-tool failure every two seconds while retaining diagnostics.
24
29
  const now = Date.now();