spatie / ray

Debug with Ray to fix problems faster
https://myray.app
MIT License
555 stars 101 forks source link

Error Debug "Query Something went wrong here. Reload Ray to try again." #820

Closed abcprintf closed 10 months ago

abcprintf commented 10 months ago

Describe the bug I updated the ray and it crashed. [2.6.2.0] - Error Debug Query "Something went wrong here. Reload Ray to try again."

$query->ray()->get();

The previous version works normally.

Versions Ray version : 2.6.2.0

PHP version: Laravel version: 7.4.33

Screenshots 2023-08-22_10-40-41

Desktop:

Sam-Apostel commented 10 months ago

Hey @abcprintf

We updated the version of sql-formatter which is more strict in which SQL dialects it parses by default. What SQL dialect are you using?

A fix is in the release pipeline that has a fallback for when the formatter fails.