add DEBUG

This commit is contained in:
Joey Hess 2014-01-07 13:23:58 -04:00
parent d8e8128b50
commit 5e23dfabd6
4 changed files with 6 additions and 1 deletions

View file

@ -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"