diff --git a/src/devtools-exome.ts b/src/devtools-exome.ts index acaf7d7..bcbb043 100644 --- a/src/devtools-exome.ts +++ b/src/devtools-exome.ts @@ -175,7 +175,9 @@ export const exomeDevtools = ({ }); return (error) => { - action.error = error as any; + if (error !== undefined) { + action.error = String(error); + } action.time = performance.now() - start; action.after = exomeToJson(instance);