Skip to content

Make error more verbose #387

Open
Open
@dkropachev

Description

@dkropachev

When statement fails gemini issues log record that looks like this:

{"L":"INFO","T":"2023-07-07T13:33:58.831Z","N":"work cycle.validation_job","M":"Validation failed. Error: unable to load check data from the test store: gocql: expected 2 values send got 0"}
Error detected: &joberror.JobError{Timestamp:time.Date(2023, time.July, 7, 13, 33, 58, 888559481, time.Local), Message:"Validation failed: unable to load check data from the test store: gocql: expected 2 values send got 0", Query:"SELECT * FROM ks1.table1 WHERE pk0=? AND pk1=? ", StmtType:"SelectStatement"}{"L":"INFO","T":"2023-07-07T13:33:58.895Z","N":"work cycle.validation_job","M":"ending validation loop"}

Lets add information on it, for instance what oracle response was, what values where populated into the query

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions