mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-08 15:27:00 +02:00
Another try at fixing #40.
The babel character-decoding-error condition is exposing both its internal BUFFER and the current OCTETS, and it seems we should refer to the BUFFER in our error reporting...
This commit is contained in:
parent
654b3f5531
commit
114d2fedbc
@ -90,7 +90,7 @@
|
||||
(let ((encoding (babel-encodings:character-coding-error-encoding c))
|
||||
(position (babel-encodings:character-coding-error-position c))
|
||||
(character
|
||||
(aref (babel-encodings:character-decoding-error-octets c)
|
||||
(aref (babel-encodings:character-coding-error-buffer c)
|
||||
(babel-encodings:character-coding-error-position c))))
|
||||
(log-message :error
|
||||
"~a: Illegal ~a character starting at position ~a: ~a."
|
||||
|
Loading…
Reference in New Issue
Block a user