fix: use snake_case for error_type (#9835)

This commit is contained in:
Erik Ritter
2020-05-18 12:35:55 -07:00
committed by GitHub
parent 7a95c52d61
commit b36738cf56
3 changed files with 3 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ describe('getClientErrorObject()', () => {
const jsonError = {
errors: [
{
errorType: ErrorTypeEnum.GENERIC_DB_ENGINE_ERROR,
error_type: ErrorTypeEnum.GENERIC_DB_ENGINE_ERROR,
extra: { engine: 'presto', link: 'https://www.google.com' },
level: 'error',
message: 'presto error: test error',