Skip to content

Conversation

@ChristophWurst
Copy link
Member

And hide the type error caused by a constructor call with missing
arguments.

new $repairStep(); only works for the rare case that no arguments are
required. Anything else will throw. Then we previously hid the trace of
the more important query exception.

This will help debug bugs like nextcloud/mail#5755.

@ChristophWurst
Copy link
Member Author

/backport to stable23

@ChristophWurst
Copy link
Member Author

/backport to stable22

@ChristophWurst
Copy link
Member Author

/backport to stable21

And hide the type error caused by a constructor call with missing
arguments.

`new $repairStep();` only works for the rare case that no arguments are
required. Anything else will throw. Then we previously hid the trace of
the more important query exception.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@ChristophWurst ChristophWurst force-pushed the fix/repair-step-query-exception-bubble branch from f125e12 to f68ab00 Compare November 30, 2021 08:47
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants