Jelajahi Sumber

HUE-9000 [editor] Prevent error message on history status checks

Johan Ahlen 6 tahun lalu
induk
melakukan
d2955f791e
1 mengubah file dengan 4 tambahan dan 1 penghapusan
  1. 4 1
      desktop/core/src/desktop/js/apps/notebook2/notebook.js

+ 4 - 1
desktop/core/src/desktop/js/apps/notebook2/notebook.js

@@ -624,7 +624,10 @@ export default class Notebook {
 
     const updateHistoryCall = item => {
       apiHelper
-        .checkStatus({ notebookJson: JSON.stringify({ uuid: item.uuid() }) })
+        .checkStatus({
+          notebookJson: JSON.stringify({ uuid: item.uuid() }),
+          silenceErrors: true
+        })
         .then(data => {
           const status =
             data.status === -3