You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error message not printed correctly in update:entities command
[update:entities]
The $variables array from Error::decodeException is being passed directly to $io->info() without being destructured or turned into a message. This results in Array being printed in place of the error message leaving no indication of what the error actually was.
Error message not printed correctly in update:entities command
[update:entities]
The
$variables
array fromError::decodeException
is being passed directly to$io->info()
without being destructured or turned into a message. This results inArray
being printed in place of the error message leaving no indication of what the error actually was.Error::decodeException return type
Call inside of command
How to reproduce
You can confirm this by adding a line
throw new EntityExceptionStorage("test")
inside of thetry
block.Solution
The pieces of the
$variables
array need to be put into a string message.The text was updated successfully, but these errors were encountered: