remove stray INVOKE-DEBUGGER calls

This commit is contained in:
eta 2020-04-05 15:08:56 +01:00
parent 47024701a5
commit 1b169e7741

View file

@ -178,9 +178,6 @@
(cxml:parse fucking-stream source (cxml:parse fucking-stream source
:recode t) :recode t)
(error (e) (error (e)
(with-simple-restart
(continue "Continue execution.")
(invoke-debugger e))
(format *debug-io* "~&Component listen thread failed: ~A~%" e) (format *debug-io* "~&Component listen thread failed: ~A~%" e)
(emit :error comp e))))) (emit :error comp e)))))
@ -483,9 +480,7 @@
:defined-condition "internal-server-error" :defined-condition "internal-server-error"
:text (write-to-string e) :text (write-to-string e)
:type "cancel")) :type "cancel"))
(with-simple-restart (warn "IQ handler for ~A failed: ~A" handler e))))))
(continue "Continue execution.")
(invoke-debugger e)))))))
(defun handle-iq-get (comp id from stanza) (defun handle-iq-get (comp id from stanza)
"Handles an IQ-get STANZA for component COMP." "Handles an IQ-get STANZA for component COMP."
@ -733,8 +728,7 @@ Commands:
(cxml:text get-url)))) (cxml:text get-url))))
(admin-msg comp jid "(Code expired? Be faster next time. Get a new one with `connect`.)"))))))) (admin-msg comp jid "(Code expired? Be faster next time. Get a new one with `connect`.)")))))))
(t (e) (t (e)
(admin-msg comp jid (format nil "Failed to upload QR code!~%Report the following error to the bridge admin: `~A`" e)) (admin-msg comp jid (format nil "Failed to upload QR code!~%Report the following error to the bridge admin: `~A`" e)))))))
(invoke-debugger e))))))
(defparameter *user-jid-scanner* (defparameter *user-jid-scanner*
(cl-ppcre:create-scanner "u([0-9]+)")) (cl-ppcre:create-scanner "u([0-9]+)"))