@nine-lab/nine-mu 0.1.341 โ 0.1.342
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -183,17 +183,17 @@ export class ExceptionHook extends HTMLElement {
|
|
|
183
183
|
// ๐ฏ [ํต์ฌ] ๋ฆฌ์กํธ๊ฐ ์๋ฌ ๋ฐ์ ํ ํ์ DOM์ Unmount/์กฐ์ํ๋ ๋๊ธฐ์ ์ธ ํ์ด๋ฐ์
|
|
184
184
|
// ์์ ํ ํ๋ ค๋ณด๋ธ ๋ค(setTimeout 0)์ ์์ ํ๊ฒ Web Component UI๋ฅผ ๊ฝ์ ๋ฃ์ต๋๋ค.
|
|
185
185
|
setTimeout(() => {
|
|
186
|
-
|
|
186
|
+
trace.log("๐จ [nine-exception-hook] ๋ฆฌ์กํธ ์ฌ์ดํด ์ข
๋ฃ ํ ์๋ฌ UI ์ต์ข
๋ ๋๋ง");
|
|
187
187
|
|
|
188
188
|
const coreContainer = this.shadowRoot.querySelector('.nine-hook-core');
|
|
189
189
|
if (coreContainer) {
|
|
190
190
|
coreContainer.style.display = 'none';
|
|
191
|
-
|
|
191
|
+
trace.log("๐จ [nine-exception-hook] <slot> ๋ณธ๋ฌธ ์์ญ ์ปจํ
์ด๋ ์จ๊น");
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
const exceptionBoard = this.shadowRoot.querySelector('.nine-exception-board');
|
|
195
195
|
if (!exceptionBoard) {
|
|
196
|
-
|
|
196
|
+
trace.error("โ [nine-exception-hook] .nine-exception-board ์๋ฆฌ๋จผํธ๋ฅผ ์ฐพ์ ์ ์์ต๋๋ค.");
|
|
197
197
|
return;
|
|
198
198
|
}
|
|
199
199
|
|
|
@@ -213,12 +213,12 @@ export class ExceptionHook extends HTMLElement {
|
|
|
213
213
|
`;
|
|
214
214
|
|
|
215
215
|
exceptionBoard.innerHTML = errorHTML;
|
|
216
|
-
|
|
216
|
+
trace.log("๐จ [nine-exception-hook] Shadow DOM์ ์๋ฌ UI ์ต์ข
์ฝ์
์ฑ๊ณต");
|
|
217
217
|
|
|
218
218
|
const aiBtn = this.shadowRoot.querySelector('.nine-ai-btn');
|
|
219
219
|
if (aiBtn) {
|
|
220
220
|
aiBtn.addEventListener('click', () => this.#sendToAiAction(errorMessage, errorStack));
|
|
221
|
-
|
|
221
|
+
trace.log("๐จ [nine-exception-hook] AI ์์ฒญ ๋ฒํผ ์ด๋ฒคํธ ๋ฆฌ์ค๋ ์ต์ข
๋ฐ์ธ๋ฉ ์ฑ๊ณต");
|
|
222
222
|
}
|
|
223
223
|
}, 0);
|
|
224
224
|
}
|