diff --git a/src/editor/Editor.tsx b/src/editor/Editor.tsx index 8280818e..630c6195 100644 --- a/src/editor/Editor.tsx +++ b/src/editor/Editor.tsx @@ -444,7 +444,7 @@ const Editor: React.VFC = () => { // istanbul ignore if: should not be reachable if (!(firstItem instanceof HTMLElement)) { - console.log(`bug: firstItem is not an HTMLElement: ${firstItem}`); + console.error(`bug: firstItem is not an HTMLElement: ${firstItem}`); return; } diff --git a/src/firmware/sagas.ts b/src/firmware/sagas.ts index 214bfb4f..8e3669fb 100644 --- a/src/firmware/sagas.ts +++ b/src/firmware/sagas.ts @@ -751,7 +751,7 @@ function* handleFlashUsbDfu(action: ReturnType): Gen } // not expected - console.log(err); + console.error(err); }), );