mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-05 02:46:10 +02:00
Add a user friendly message about what's happening...
Still in the abnormal termination case. pgloader might get stuck and if the user knows it's waiting for threads to complete, they might be less worried about the situation and opportunity to kill pgloader...
This commit is contained in:
parent
2341ef195d
commit
46d6f339df
@ -354,6 +354,8 @@
|
||||
(declare (ignore c)) ; handler-bind printed it out
|
||||
(format *error-output* "~%What I am doing here?~%~%")
|
||||
;; wait until monitor stops...
|
||||
(format *error-output*
|
||||
"~%Waiting for the monitor thread to complete.~%~%")
|
||||
(let ((lp:*kernel* *monitoring-kernel*))
|
||||
(lp:end-kernel :wait t))
|
||||
(uiop:quit +os-code-error+)))))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user