Skip to content

Commit f50538f

Browse files
fixup! remove Error class
1 parent c94abad commit f50538f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/pangea/textGuard.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const handler: PluginHandler = async (
3131
const text = getText(context, eventType);
3232
if (!text) {
3333
return {
34-
error: Error(`request or response text is empty`),
34+
error: 'request or response text is empty',
3535
verdict: true,
3636
data,
3737
};

0 commit comments

Comments
 (0)