We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6354187 commit 5ab1f59Copy full SHA for 5ab1f59
2 files changed
src/lib/instance.ts
@@ -74,7 +74,7 @@ export default class NodePyATVInstance {
74
} catch (error) {
75
throw new Error(
76
`Unable to scan for devices: ${String(error).replace('Error: ', '')}`,
77
- { cause: error }
+ { cause: error },
78
);
79
}
80
src/lib/tools.ts
@@ -501,7 +501,7 @@ export async function request<O extends NodePyATVRequestOptions>(
501
const msg = `Unable to parse result ${requestId} json: ${error}`;
502
debug(requestId, msg, options);
503
throw new Error(msg, {
504
- cause: error
+ cause: error,
505
});
506
507
0 commit comments