[jOOQ/jOOQ#12832] Improve parser error message when encountering unterminated quoted identifier
This commit is contained in:
parent
1194d090a4
commit
cb4e4314aa
@ -11823,7 +11823,7 @@ final class DefaultParseContext extends AbstractScope implements ParseContext {
|
||||
|
||||
if (quoted) {
|
||||
if (character() != quoteEnd)
|
||||
throw exception("Quoted identifier must terminate in " + quoteEnd);
|
||||
throw exception("Quoted identifier must terminate in " + quoteEnd + ". Start of identifier: " + StringUtils.abbreviate(sb.toString(), 30));
|
||||
|
||||
positionInc();
|
||||
parseWhitespaceIf();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user