File tree 2 files changed +6
-10
lines changed
2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
32
32
- Hidden points (or outsided) are visible after changing a frame
33
33
- Merge is allowed for points, but clicks on points conflict with frame dragging logic
34
34
- Removed objects are visible for search
35
+ - Add missed task_id and job_id fields into exception logs for the new UI (https://github.com/opencv/cvat/pull/1372 )
35
36
36
37
### Security
37
38
-
Original file line number Diff line number Diff line change @@ -195,12 +195,11 @@ class LogWithExceptionInfo extends Log {
195
195
}
196
196
197
197
dump ( ) {
198
- const payload = { ...this . payload } ;
198
+ let body = super . dump ( ) ;
199
+ const payload = body . payload ;
199
200
const client = detect ( ) ;
200
- const body = {
201
- client_id : payload . client_id ,
202
- name : this . type ,
203
- time : this . time . toISOString ( ) ,
201
+ body = {
202
+ ...body ,
204
203
message : payload . message ,
205
204
filename : payload . filename ,
206
205
line : payload . line ,
@@ -211,17 +210,13 @@ class LogWithExceptionInfo extends Log {
211
210
version : client . version ,
212
211
} ;
213
212
214
- delete payload . client_id ;
215
213
delete payload . message ;
216
214
delete payload . filename ;
217
215
delete payload . line ;
218
216
delete payload . column ;
219
217
delete payload . stack ;
220
218
221
- return {
222
- ...body ,
223
- payload,
224
- } ;
219
+ return body ;
225
220
}
226
221
}
227
222
You can’t perform that action at this time.
0 commit comments