解決 Google 文件外掛程式 Code Pretty 的 Service invoked too many times in a short time 訊息

Google 文件外掛程式 Code Pretty 可以美化文件內的程式碼樣式。選取程式碼後,再點選 Code Pretty 卻出現「Service invoked too many times in a short time: properties. Try Utilities.sleep(1000) between calls.」錯誤訊息。



錯誤訊息截圖

點選錯誤訊息的「詳細資料」連結,卻顯示跟錯誤訊息一模一樣的內容 XD



解決方式

因為選取太長程式碼想要美化,而出現這樣的錯誤。只要將選取的文字縮短,就不會出現這樣的訊息。實際測試,可以選取的文字長度小於三頁。


相關連結



留言