mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-08 23:37: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))
|
(let ((encoding (babel-encodings:character-coding-error-encoding c))
|
||||||
(position (babel-encodings:character-coding-error-position c))
|
(position (babel-encodings:character-coding-error-position c))
|
||||||
(character
|
(character
|
||||||
(aref (babel-encodings:character-decoding-error-octets c)
|
(aref (babel-encodings:character-coding-error-buffer c)
|
||||||
(babel-encodings:character-coding-error-position c))))
|
(babel-encodings:character-coding-error-position c))))
|
||||||
(log-message :error
|
(log-message :error
|
||||||
"~a: Illegal ~a character starting at position ~a: ~a."
|
"~a: Illegal ~a character starting at position ~a: ~a."
|
||||||
|
Loading…
Reference in New Issue
Block a user