fix(backend): fixed missing js_exception issue type in sessions table
This commit is contained in:
parent
8facbb9d6e
commit
9d7cc4935d
2 changed files with 2 additions and 2 deletions
|
|
@ -123,7 +123,7 @@ func (s *saverImpl) handleMessage(msg Message) error {
|
|||
if err = s.pg.InsertWebErrorEvent(session, types.WrapJSException(m)); err != nil {
|
||||
return err
|
||||
}
|
||||
return s.sessions.UpdateIssuesStats(session.SessionID, 0, 1000)
|
||||
return s.sessions.UpdateIssuesStats(session.SessionID, 1, 1000)
|
||||
case *IntegrationEvent:
|
||||
return s.pg.InsertWebErrorEvent(session, types.WrapIntegrationEvent(m))
|
||||
case *InputChange:
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ func WrapJSException(m *JSException) *ErrorEvent {
|
|||
}
|
||||
return &ErrorEvent{
|
||||
MessageID: m.Meta().Index,
|
||||
Timestamp: uint64(m.Meta().Timestamp),
|
||||
Timestamp: m.Meta().Timestamp,
|
||||
Source: SOURCE_JS,
|
||||
Name: m.Name,
|
||||
Message: m.Message,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue