Currently getting an error due to no error, which makes things very difficult to debug.

So that I can actually debug what is going on it would be ideal to log the $response_data to watchdog.

Files: 
CommentFileSizeAuthor
#2 better_errors-2627054-2.patch945 bytesDeciphered

Comments

Deciphered created an issue. See original summary.

Deciphered’s picture

Status: Active » Needs review
FileSize
945 bytes

Attached patch resolves the issue as well as logs the error and $response_data for further investigation.

  • Deciphered authored d580c3e on 8.x-1.x
    Issue #2627054 by Deciphered: Notice: Undefined index: error in Drupal\...
BTMash’s picture

I had missed the change for $data during the port. I like the error logging message you brought in. Committed to dev. Thanks!

BTMash’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.