solve "printStack" issue / revert error-handler.js