neo4j-core icon indicating copy to clipboard operation
neo4j-core copied to clipboard

HTTP response loses stack-trace

Open ghost opened this issue 3 years ago • 0 comments

The method validate_faraday_response! discards the Java stack-trace since it uses the :stack_trace key where it should be using the :stackTrace key. A response.inspect yields

#<Faraday::Response:0x00007f893f73bd40 
  @on_complete_callbacks=[], 
  @env=#<Faraday::Env 
    @method=:post 
    @body={
      :results=>[], 
      :errors=>[
        {
          :code=>"Neo.DatabaseError.Statement.ExecutionFailed", 
          :message=>nil, 
          :stackTrace=>"java.lang.NullPointerException ...

ghost avatar Sep 21 '20 14:09 ghost