File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
packages/test-case-component/src Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,8 @@ class HTMLGenerator {
135
135
htmlArray . push ( codeBody )
136
136
break ; // Exit loop if successful
137
137
} catch ( error ) {
138
- console . warn ( "Failed with decorations level:" , fallbackDecoration , error ) ;
138
+ console . warn ( `"Failed with decorations level ${ i } :"` , this . command ) ;
139
+ console . warn ( fallbackDecoration , error ) ;
139
140
// Continue to the next fallback level
140
141
}
141
142
}
@@ -159,7 +160,7 @@ class HTMLGenerator {
159
160
const errorRendered = `<pre><code>Omitted due to errors: ${ error } </pre></code>`
160
161
htmlArray . push ( errorRendered )
161
162
}
162
- return { html : htmlArray . join ( "" ) , data : [ ] }
163
+ return { html : htmlArray . join ( "" ) , data : [ decorations ] }
163
164
}
164
165
165
166
async generateAll ( ) {
You can’t perform that action at this time.
0 commit comments