question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`includeError` displaying errors as `"[Array]"`

See original GitHub issue

I’m having an issue where the errors are shown as "[Array]", is there a way to map this appropriately? I had to add my own breadcrumb with errorLink. Thank you in advance, great package so far!

Screen Shot 2021-02-15 at 6 40 47 PM

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
spawniacommented, Feb 22, 2021

@alesso-x you have some valid points, but could you open discrete issues? I think that would be more productive than us discussing in this closed issue 😉

2reactions
spawniacommented, Feb 16, 2021

The operation name and type indicate this is definitely version 3. I will begin working on a PR to restore nice serialization of errors right now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

PHP - Array for displaying errors - Stack Overflow
The array is just repository for multiple error messages. Displaying it is up to later code. Even just a simple foreach() {echo} loop...
Read more >
$error->has() for ANY errors in input array - Laracasts
I am running a check after the validation to see if there exists an error on the members.. If there is, I add...
Read more >
error_reporting - Manual - PHP
The error_reporting() function sets the error_reporting directive at runtime. PHP has many levels of errors, using this function sets that level for the ......
Read more >
Error handling - Apollo GraphQL Docs
Whenever Apollo Server encounters errors while processing a GraphQL operation, its response to the client includes an errors array containing each error ......
Read more >
Active Record Validations - Ruby on Rails Guides
To verify whether or not a particular attribute of an object is valid, you can use errors[:attribute] . It returns an array of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found