@nine-lab/nine-mu 0.1.349 โ 0.1.350
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
|
@@ -145,10 +145,33 @@ export class NineExceptionHook extends React.Component {
|
|
|
145
145
|
{
|
|
146
146
|
style: { ...NineExceptionStyles.container, ...customStyles.container, ...this.props.containerStyle }
|
|
147
147
|
},
|
|
148
|
-
|
|
149
|
-
React.createElement(
|
|
148
|
+
// 1. ์๋จ ํ๋กฌํํธ ํค๋ (์์คํ
์ํ ์๋ฆผ)
|
|
149
|
+
React.createElement(
|
|
150
|
+
'div',
|
|
151
|
+
{ style: { ...NineExceptionStyles.title, ...customStyles.title } },
|
|
152
|
+
React.createElement('span', { style: { color: '#38A169', marginRight: '5px' } }, 'nandoo@nine-mu:~$'),
|
|
153
|
+
'./system-check --status'
|
|
154
|
+
),
|
|
155
|
+
|
|
156
|
+
// 2. ์์คํ
์๋ฌ ๊ฐ์ง ์ถ๋ ฅ ๋ก๊ทธ
|
|
157
|
+
React.createElement(
|
|
158
|
+
'div',
|
|
159
|
+
{ style: { color: '#E53E3E', fontSize: '14px', margin: '15px 0 5px 0', fontWeight: 'bold', letterSpacing: '0.5px' } },
|
|
160
|
+
'[SYSTEM] COMPONENT RENDER ERROR DETECTED'
|
|
161
|
+
),
|
|
162
|
+
|
|
163
|
+
// 3. ๋ช
๋ น์ด ์
๋ ฅ ์๋ฎฌ๋ ์ด์
($ cat error.log)
|
|
164
|
+
React.createElement(
|
|
165
|
+
'p',
|
|
166
|
+
{ style: { ...NineExceptionStyles.label, ...customStyles.label } },
|
|
167
|
+
React.createElement('span', { style: { color: '#3182CE', marginRight: '6px' } }, 'nandoo@nine-mu:~$'),
|
|
168
|
+
'cat error.log'
|
|
169
|
+
),
|
|
170
|
+
|
|
171
|
+
// 4. ์๋ฌ ๋ด์ฉ ๋ณธ๋ฌธ ๋ฐ์ค
|
|
150
172
|
React.createElement('pre', { style: { ...NineExceptionStyles.pre, ...customStyles.pre } }, errorMessage),
|
|
151
173
|
|
|
174
|
+
// 5. ํ๋จ ๋ฒํผ ๋ฐ ํผ๋๋ฐฑ ์์ญ
|
|
152
175
|
React.createElement(
|
|
153
176
|
'div',
|
|
154
177
|
{ style: { ...NineExceptionStyles.footer, ...customStyles.footer } },
|