mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 15:54:03 +02:00
Dudes need better error messages
This commit is contained in:
parent
bb9bc39522
commit
7d22994d80
@ -441,7 +441,9 @@ abstract class IdoQuery extends Query
|
|||||||
protected function conflictsWithVirtualTable($name)
|
protected function conflictsWithVirtualTable($name)
|
||||||
{
|
{
|
||||||
if ($this->hasJoinedVirtualTable($name)) {
|
if ($this->hasJoinedVirtualTable($name)) {
|
||||||
throw new ProgrammingError('Great work, dude');
|
throw new ProgrammingError(
|
||||||
|
sprintf('IDO query virtual table conflict with "%s"', $name)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user