summaryrefslogtreecommitdiff
path: root/Remote/External.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-01-07 13:23:58 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-01-07 13:23:58 -0400
commitec10906a7a219ce603f3a49e1c35250c17a77fc9 (patch)
tree7042b196195bc0116e8cbfd7f08c17f7efcdea59 /Remote/External.hs
parent9ffba939dbdbc5f4647b754cc0173dd6bc7f9803 (diff)
add DEBUG
Diffstat (limited to 'Remote/External.hs')
-rw-r--r--Remote/External.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Remote/External.hs b/Remote/External.hs
index a91ea8697..f09589b25 100644
--- a/Remote/External.hs
+++ b/Remote/External.hs
@@ -242,6 +242,7 @@ handleRequest' lck external req mp responsehandler
state <- fromMaybe ""
<$> getRemoteState (externalUUID external) key
send $ VALUE state
+ handleRemoteRequest (DEBUG msg) = liftIO $ debugM "external" msg
handleRemoteRequest (VERSION _) =
sendMessage lck external $ ERROR "too late to send VERSION"