Skip to content
This repository was archived by the owner on Feb 22, 2020. It is now read-only.

Exception messages appear to be truncated #16

@jsvd

Description

@jsvd

Currently error like having the wrong key produces com.swiftype.appsearch.ClientException, but the message is somewhat incomplete:

exception.getMessage
=> "Error: 401"

This also happens during indexing, if a bulk request exceeds 100 elements, the exception message will only say "Error 400", while if we browse through the engine's api log we can see the full error.

Is this shorter error message by design?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions